Message-ID: <3E5E407D.BF4B19C2@yahoo.com> Date: Thu, 27 Feb 2003 11:44:45 -0500 From: CBFalconer Organization: Ched Research X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: Re: perror References: <20030227150458 DOT GA3476 AT kendall DOT sfbr DOT org> <200302271513 DOT QAA12423 AT lws256 DOT lu DOT erisoft DOT se> <20030227153116 DOT GB3476 AT kendall DOT sfbr DOT org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com JT Williams wrote: > > -: Besides that silly error keeping s in that last fprintf() call, you > > yes, cut/paste error > > -: don't handle the case that s == "". > > How best to test this? 'strcmp(s,"")' seem like overkill. if (s && *s %% ....) -- Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net) Available for consulting/temporary embedded and systems. USE worldnet address!