373 |
# define ns 0 |
# define ns 0 |
374 |
#endif |
#endif |
375 |
|
|
|
#if ! defined _LIBC && ! HAVE_RUN_TZSET_TEST |
|
|
/* Solaris 2.5.x and 2.6 tzset sometimes modify the storage returned |
|
|
by localtime. On such systems, we must use the tzset and localtime |
|
|
wrappers to work around the bug. */ |
|
|
"you must run the autoconf test for a working tzset function" |
|
|
#endif |
|
|
|
|
376 |
|
|
377 |
/* Write information from TP into S according to the format |
/* Write information from TP into S according to the format |
378 |
string FORMAT, writing no more that MAXSIZE characters |
string FORMAT, writing no more that MAXSIZE characters |
432 |
const char *format_end = NULL; |
const char *format_end = NULL; |
433 |
#endif |
#endif |
434 |
|
|
435 |
|
#if ! defined _LIBC && ! HAVE_RUN_TZSET_TEST |
436 |
|
/* Solaris 2.5.x and 2.6 tzset sometimes modify the storage returned |
437 |
|
by localtime. On such systems, we must either use the tzset and |
438 |
|
localtime wrappers to work around the bug (which sets |
439 |
|
HAVE_RUN_TZSET_TEST) or make a copy of the structure. */ |
440 |
|
struct tm copy = *tp; |
441 |
|
tp = © |
442 |
|
#endif |
443 |
|
|
444 |
zone = NULL; |
zone = NULL; |
445 |
#if HAVE_TM_ZONE |
#if HAVE_TM_ZONE |
446 |
/* The POSIX test suite assumes that setting |
/* The POSIX test suite assumes that setting |