Path: utzoo!attcan!uunet!peregrine!elroy!ames!pacbell!pbhyf!rob From: rob@pbhyf.PacBell.COM (Rob Bernardo) Newsgroups: comp.lang.c Subject: Re: retiring gets(3) Message-ID: <4292@pbhyf.PacBell.COM> Date: 23 Nov 88 21:08:04 GMT References: <1988Nov14.220842.3980@utstat.uucp> <8902@smoke.BRL.MIL> <8959@smoke.BRL.MIL> <1606@valhalla.ee.rochester.edu> Reply-To: rob@pbhyf.PacBell.COM (Rob Bernardo) Organization: Pacific * Bell, San Ramon, CA Lines: 22 In article <1606@valhalla.ee.rochester.edu> badri@valhalla.ee.rochester.edu (Badri Lokanathan) writes: + Almost all of them have a + +#ifdef DEBUG_MAIN +main() { + . + . +} +#endif DEBUG_MAIN + +built into them for stand-alone debugging. ... It does not make any +sense to worry about safe gets, coz' this part of the code is never going to +be used by anybody for purposes other than testing. Quick and easy is the way +to go. Um, er, wasn't it a debug part of sendmail that had it's security hole that many people compiled in anyway? -- Rob Bernardo, Pacific Bell UNIX/C Reusable Code Library Email: ...![backbone]!pacbell!pbhyf!rob OR rob@pbhyf.PacBell.COM Office: (415) 823-2417 Room 4E750A, San Ramon Valley Administrative Center Residence: (415) 827-4301 R Bar JB, Concord, California