home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!paladin.american.edu!darwin.sura.net!mips!sdd.hp.com!caen!nic.umass.edu!amherst!amhux1.amherst.edu!twpierce
- From: twpierce@amhux1.amherst.edu (Tim Pierce)
- Subject: Re: Is it MY problem...or is it Borland's?
- Message-ID: <1992Jul29.211629.2834@amhux2.amherst.edu>
- Sender: usenet@amhux2.amherst.edu (USENET News System)
- Nntp-Posting-Host: amhux1.amherst.edu
- Organization: Amherst College, Amherst MA
- References: <1992Jul25.162844.18778@uwm.edu> <1992Jul27.092039.190@mble.philips.be>
- Date: Wed, 29 Jul 1992 21:16:29 GMT
- Lines: 17
-
- In article <1992Jul27.092039.190@mble.philips.be> stern@mble.philips.be writes:
-
- >This is a bug in your program:
- >
- >As the string containing the directory is local to function scrollbox,
- >it is located on the stack.
-
- This isn't clear at all. The code for scrollbox was not listed in his
- posting, so you can't be sure that the string wasn't malloced, and
- hence non-volatile across functions. In fact, if scrollbox is
- Borland-supplied, and the string it returns is a local automatic, this
- is a SERIOUS Borland bug.
-
- --
- ____ Tim Pierce / "You mean there are TWO of you, Pierce?
- \ / twpierce@amherst.edu / God help us all."
- \/ (BITnet: TWPIERCE@AMHERST) / -- Major Charles Emerson Winchester III
-