Path: utzoo!attcan!uunet!wuarchive!usc!srhqla!demott!kdq From: kdq@demott.com (Kevin D. Quitt) Newsgroups: comp.lang.c Subject: Re: An Ubiquitous C bug Message-ID: <1991Jan24.175035.23050@demott.com> Date: 24 Jan 91 17:50:35 GMT References: <1991Jan21.164725.10287@demott.com> Organization: DeMott Electronics Co., Van Nuys CA Lines: 25 In article s64421@zeus.usq.EDU.AU (house ron) writes: >kdq@demott.com (Kevin D. Quitt) writes: > >>In article s64421@zeus.usq.EDU.AU (house ron) writes: >>>Here's a bug which exists in every single DOS C compiler I can find, >... >> Apparently you haven't tried Microsoft C 6.0? Which ones have you tried? > >I tried Quick C, TopSpeed C and Watcom C (a real loser). Remember >that any particular program might work, without guaranteeing that the >bug is absent. To be sure, look at the value of NULL pointers, and, if >it is zero, look at a program map to verify that a non-function is >necessarily present at the start of the default code segment. Is this >the case with MSC6? I find start-up code at zero, and with a few simple trials was not able to get one of my (or the library's) functions loaded at zero. Maybe if I were more persistent... -- _ Kevin D. Quitt demott!kdq kdq@demott.com DeMott Electronics Co. 14707 Keswick St. Van Nuys, CA 91405-1266 VOICE (818) 988-4975 FAX (818) 997-1190 MODEM (818) 997-4496 PEP last