This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: patch2 darwin & libgcj


On Wed, Jan 02, 2002 at 04:13:45PM +0100, Andreas Tobler wrote:
> +  tz1 = tim->tm_zone;
> +  tz2 = NULL;
[...]
> +  if (!strcmp(tz1, tz2))

Boom.

You may want "" not NULL for tz2.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]