patch2 darwin & libgcj
Andreas Tobler
toa@pop.agri.ch
Wed Jan 2 03:25:00 GMT 2002
Tom Tromey wrote:
>> >>>>> "Andreas" == Andreas Tobler <toa@pop.agri.ch> writes:
>> Andreas> P.S, I don't send the configure diff since I'm not sure about
> Andreas> it. Do I have to provide this or is anyone else able to
> Andreas> update it?
>> I'll regenerate configure when I check in the patch. Don't send
> configure diffs, as they just hide the real patch.
Thanks,
> char *tz1, *tz2;
> #ifdef HAVE_TM_ZONE
> tz1 = tim->tm_zone;
> tz2 = NULL;
> #elif defined (HAVE_TZNAME)
> tz1 = tzname[0];
> tz2 = strcmp (tzname[0], tzname[1]) ? tzname[1] : NULL;
> #else
> #error etc
> #endif
Here I have an additional question: on darwin the tm_zone is defined as
char* while on powerpc-linux it is defined as const char*.
So the assignement tz1 = tim->tm_zone is not a valid one.
How should I go on here? tz1 const char* ?
Thanks,
Andreas
More information about the Java
mailing list