mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-18 22:50:07 +00:00
Update.
1999-01-19 Ulrich Drepper <drepper@cygnus.com> * timezone/zdump.c: Update from tzcode1999a. * timezone/zic.c: Likewise.
This commit is contained in:
parent
42bd0a85b9
commit
3ef4002b3f
@ -1,3 +1,8 @@
|
||||
1999-01-19 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* timezone/zdump.c: Update from tzcode1999a.
|
||||
* timezone/zic.c: Likewise.
|
||||
|
||||
1999-01-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
|
||||
|
||||
* math/tgmath.h (nexttoward): Rename nextafterx to nexttoward.
|
||||
|
2
NEWS
2
NEWS
@ -401,7 +401,7 @@ updwtmpx NEW: Unix98
|
||||
user2netname NEW: Secure RPC
|
||||
utmpxname NEW: Unix98
|
||||
versionsort NEW: GNU ext.
|
||||
versionsort64 NEW: LFS
|
||||
versionsort64 NEW: GNU ext.
|
||||
waitid NEW: Unix98
|
||||
wcscasecmp NEW: GNU ext.
|
||||
wcsncasecmp NEW: GNU ext.
|
||||
|
@ -1,6 +1,6 @@
|
||||
#ifndef lint
|
||||
#ifndef NOID
|
||||
static char elsieid[] = "@(#)zdump.c 7.27";
|
||||
static char elsieid[] = "@(#)zdump.c 7.28";
|
||||
#endif /* !defined NOID */
|
||||
#endif /* !defined lint */
|
||||
|
||||
@ -127,7 +127,7 @@ extern char * optarg;
|
||||
extern int optind;
|
||||
extern char * tzname[2];
|
||||
|
||||
static const char *abbr P((struct tm * tmp));
|
||||
static char * abbr P((struct tm * tmp));
|
||||
static long delta P((struct tm * newp, struct tm * oldp));
|
||||
static time_t hunt P((char * name, time_t lot, time_t hit));
|
||||
static size_t longest;
|
||||
@ -263,7 +263,7 @@ _("%s: usage is %s [ -v ] [ -c cutoff ] zonename ...\n"),
|
||||
show(argv[i], t, TRUE);
|
||||
}
|
||||
if (fflush(stdout) || ferror(stdout)) {
|
||||
(void) fprintf(stderr, _("%s: Error writing standard output "),
|
||||
(void) fprintf(stderr, _("%s: Error writing "),
|
||||
argv[0]);
|
||||
(void) perror(_("standard output"));
|
||||
(void) exit(EXIT_FAILURE);
|
||||
@ -358,19 +358,15 @@ int v;
|
||||
(void) printf("\n");
|
||||
}
|
||||
|
||||
static const char *
|
||||
static char *
|
||||
abbr(tmp)
|
||||
struct tm * tmp;
|
||||
{
|
||||
register const char *result;
|
||||
static const char nada;
|
||||
register char * result;
|
||||
static char nada;
|
||||
|
||||
#ifdef TM_ZONE
|
||||
result = tmp->TM_ZONE;
|
||||
#else /* !defined TM_ZONE */
|
||||
if (tmp->tm_isdst != 0 && tmp->tm_isdst != 1)
|
||||
return &nada;
|
||||
result = tzname[tmp->tm_isdst];
|
||||
#endif /* !defined TM_ZONE */
|
||||
return (result == NULL) ? &nada : result;
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
#ifndef lint
|
||||
#ifndef NOID
|
||||
static char elsieid[] = "@(#)zic.c 7.95";
|
||||
static char elsieid[] = "@(#)zic.c 7.96";
|
||||
#endif /* !defined NOID */
|
||||
#endif /* !defined lint */
|
||||
|
||||
@ -381,7 +381,7 @@ int errnum;
|
||||
extern int sys_nerr;
|
||||
|
||||
return (errnum > 0 && errnum <= sys_nerr) ?
|
||||
sys_errlist[errnum] : "Unknown system error";
|
||||
sys_errlist[errnum] : _("Unknown system error");
|
||||
}
|
||||
#endif /* !(HAVE_STRERROR - 0) */
|
||||
|
||||
@ -430,7 +430,7 @@ const char * const string;
|
||||
{
|
||||
char * cp;
|
||||
|
||||
cp = ecpyalloc("warning: ");
|
||||
cp = ecpyalloc(_("warning: "));
|
||||
cp = ecatalloc(cp, string);
|
||||
error(cp);
|
||||
ifree(cp);
|
||||
|
Loading…
Reference in New Issue
Block a user