[uClibc] about struct tm

Wen Yang weny at promise.com
Tue Aug 19 02:40:48 UTC 2003


In uClibc-0.9.20, the include/time.h struct tm has
 
  __const char tm_zone[8];    /* Timezone abbreviation.  */


The default /usr/include/time.h on my machine has "__const char *
tm_zone;"
 
What was the reason to change it to char[8];
 
Currently, in order for my program to compile with the uClibc toolchain,
I manually modified the time.h as
 
  __const char * tm_zone;
  char * tm_reserved;
 
Would it cause any problem at run-time on i386 and arm?
 
 
Regards,
 
Wen
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20030818/e80c396e/attachment-0002.htm 


More information about the uClibc mailing list