Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!ames!elroy!gryphon!desint!geoff From: geoff@desint.UUCP (Geoff Kuenning) Newsgroups: comp.bugs.misc Subject: Re: Need help with C bug. Keywords: pcc2 char array code generation Message-ID: <21@desint.UUCP> Date: 9 Apr 89 20:27:05 GMT References: <765@happym.wa.com> Reply-To: geoff@desint.UUCP (Geoff Kuenning) Distribution: usa Organization: Interrupt Technology Corp., Manhattan Beach, CA Lines: 10 In article <765@happym.wa.com> kent@happym.UUCP (0000-Kent Forschmiedt) writes: > p && free(p); Note that this is an illegal statement on most modern Unixes, because free() is (or should be) declared with a void return value. (Of course, if free() is replaced by any routine that returns a value, the compiler should be able to handle it, regardless of the fact that it is horrible coding style.) -- Geoff Kuenning geoff@ITcorp.com uunet!desint!geoff