patch2 darwin & libgcj
Wed Jan 2 13:22:00 GMT 2002
Richard Henderson wrote:
> On Wed, Jan 02, 2002 at 04:13:45PM +0100, Andreas Tobler wrote:
> > + tz1 = tim->tm_zone;
> > + tz2 = NULL;
> > + if (!strcmp(tz1, tz2))
> You may want "" not NULL for tz2.
Probably yes, but the more I do the more I get confused. Does strcmp
bomb when I have NULL for one value to compare? I expected a >0 for this comparison.
Sorry if that's basic, but probably I have to retire a few months.... to
More information about the Java