Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!news.kei.com!news.mathworks.com!tank.news.pipex.net!pipex!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail From: brian@awfulhak.demon.co.uk (Brian Somers) Newsgroups: comp.unix.misc,comp.unix.bsd.misc Subject: Re: How to delete files within C programs Followup-To: comp.unix.misc,comp.unix.bsd.misc Date: 17 May 1996 10:43:38 +0100 Organization: Coverform Ltd. Lines: 22 Message-ID: <4nhhoa$a6@anorak.coverform.lan> References: <Oum-El-Kheir.Benkahla-3004961724540001@mac-ugm-3.imag.fr> <4n5cer$33m@news.rhrz.uni-bonn.de> <4n7mse$o34@web.nmti.com> <4nclv9$11s@anorak.coverform.lan> <4nfd2h$smf@web.nmti.com> X-NNTP-Posting-Host: awfulhak.demon.co.uk X-Newsreader: TIN [version 1.2 PL2] Xref: euryale.cc.adfa.oz.au comp.unix.misc:22878 comp.unix.bsd.misc:1083 Peter da Silva (peter@nmti.com) wrote: : In article <4nclv9$11s@anorak.coverform.lan>, : Brian Somers <brian@awfulhak.demon.co.uk> wrote: : > Peter da Silva (peter@nmti.com) wrote: : > : Most of the software on the net is that sort of code. Look at all the code : > : that calls: : > : execl(arg, arg, arg, arg, 0); : > : The amount of code that uses NULL or casts the 0 to (char *) is definitely : > : in the minority. Yet that's one of the most basic rank beginner mistakes... : > : but it worked fine on 32-bit systems so who cared? : > Also works fine with any compiler worth its salt that's given a prototype. : GOTCHA! Oops :-) -- Brian <brian@awfulhak.demon.co.uk> Don't _EVER_ lose your sense of humour....