Date: Thu, 27 Feb 2003 12:00:18 -0500 Message-Id: <200302271700.h1RH0Ig27384@envy.delorie.com> X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT delorie DOT com using -f From: DJ Delorie To: djgpp-workers AT delorie DOT com In-reply-to: <20030227155759.GA3540@kendall.sfbr.org> (message from JT Williams on Thu, 27 Feb 2003 09:57:59 -0600) Subject: Re: perror References: <20030227150458 DOT GA3476 AT kendall DOT sfbr DOT org> <1046360051 DOT 30750 DOT 3 DOT camel AT leeloo> <20030227155759 DOT GA3540 AT kendall DOT sfbr DOT org> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > + if ((s && *s) || (strcmp(s, "") == 0)) You don't need the strcmp here. The s && *s covers it.