Mercurial > gnulib
changeset 19829:ed08aa26b6b0
GNU shell utilities
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Tue, 09 Nov 1993 13:01:33 +0000 |
parents | 964e7ea88337 |
children | eeb6901af1c8 |
files | lib/getdate.y lib/putenv.c |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/getdate.y Tue Oct 26 00:08:33 1993 +0000 +++ b/lib/getdate.y Tue Nov 09 13:01:33 1993 +0000 @@ -97,7 +97,7 @@ #undef timezone /* needed for sgi */ #endif -#if defined(HAVE_SYS_TIMEB_H) || (!defined(USG) && defined(HAVE_FTIME)) +#if defined(HAVE_SYS_TIMEB_H) #include <sys/timeb.h> #else /*
--- a/lib/putenv.c Tue Oct 26 00:08:33 1993 +0000 +++ b/lib/putenv.c Tue Nov 09 13:01:33 1993 +0000 @@ -106,7 +106,8 @@ char **new_environ = (char **) malloc ((size + 2) * sizeof (char *)); if (new_environ == NULL) return -1; - (void) bcopy ((char *) environ, (char *) new_environ, size * sizeof (char *)); + (void) bcopy ((char *) environ, (char *) new_environ, + size * sizeof (char *)); new_environ[size] = (char *) string; new_environ[size + 1] = NULL; if (last_environ != NULL)