[uClibc-cvs] uClibc/include time.h,1.10,1.11

Manuel Novoa III mjn3 at uclibc.org
Sun Nov 2 07:39:30 UTC 2003


Update of /var/cvs/uClibc/include
In directory winder:/tmp/cvs-serv7674/include

Modified Files:
	time.h 
Log Message:
Hopefully fix the struct tm extension problem once and for all.
Also fix a dst-related bug which caused the use of uninitialized data.


Index: time.h
===================================================================
RCS file: /var/cvs/uClibc/include/time.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- time.h	10 Oct 2003 09:21:54 -0000	1.10
+++ time.h	2 Nov 2003 07:39:23 -0000	1.11
@@ -143,12 +143,11 @@
 #ifdef __UCLIBC_HAS_TM_EXTENSIONS__
 #ifdef	__USE_BSD
   long int tm_gmtoff;		/* Seconds east of UTC.  */
-  __const char *tm_zone;	/* Timezone abbreviation.  */
+  __const char *tm_zone;	/* Timezone abbreviation. */
 #else
   long int __tm_gmtoff;		/* Seconds east of UTC.  */
-  __const char *__tm_zone;	/* Timezone abbreviation.  */
+  __const char *__tm_zone;	/* Timezone abbreviation. */
 #endif
-  char __tm_tzname[8];		/* In uClibc, tm_zone points to __tm_tzname. */
 #endif /* __UCLIBC_HAS_TM_EXTENSIONS__ */
 };
 __END_NAMESPACE_STD




More information about the uClibc-cvs mailing list