From: Jim Meyering Date: Tue, 9 Nov 1993 13:01:33 +0000 (+0000) Subject: GNU shell utilities X-Git-Tag: SHELLUTILS-1_9~1 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=b3fc62063a0082718945d41cee4bffe054142fbd;p=gnulib.git GNU shell utilities --- diff --git a/lib/getdate.y b/lib/getdate.y index df1a08a98..1d5690423 100644 --- a/lib/getdate.y +++ b/lib/getdate.y @@ -97,7 +97,7 @@ void *alloca (); #undef timezone /* needed for sgi */ #endif -#if defined(HAVE_SYS_TIMEB_H) || (!defined(USG) && defined(HAVE_FTIME)) +#if defined(HAVE_SYS_TIMEB_H) #include #else /* diff --git a/lib/putenv.c b/lib/putenv.c index b9f491284..47f7256e5 100644 --- a/lib/putenv.c +++ b/lib/putenv.c @@ -106,7 +106,8 @@ putenv (string) 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)