merge with 1.9.4l + local build mods
authorJim Meyering <jim@meyering.net>
Sat, 14 May 1994 16:09:51 +0000 (16:09 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 14 May 1994 16:09:51 +0000 (16:09 +0000)
old/sh-utils/ChangeLog
old/sh-utils/NEWS
src/pwd.c

index 9563557..5fd1671 100644 (file)
@@ -1,5 +1,12 @@
 Fri May 13 09:45:23 1994  Jim Meyering  (meyering@comco.com)
 
+       * pwd.c: Include <sys/types.h> before "system.h".
+       From Kaveh Ghazi.
+
+       * {lib,man,src}/Makefile.in (Makefile): Use ../config.status
+       instead of $(srcdir)/../config.status.  The latter didn't work
+       for builddir != srcdir.  From Kaveh Ghazi.
+
        * Makefile.in (Makefile): Remove dependencies on */Makefile.in.
        Change the rule so running config.status creates only Makefile.
        (stamp-config): Have config.status generate only config.h.
@@ -10,6 +17,7 @@ Fri May 13 09:45:23 1994  Jim Meyering  (meyering@comco.com)
        * hostname.c: New program.
        * hostname.1: New file.
        * Makefile.in (PROGS): Add hostname.
+       (SOURCES): Add hostname.c
        * src/Makefile.in: Add rules and dependencies for hostname.
        * configure.in (AC_HAVE_FUNCS): Add sethostname.
 
index d327940..7bd07a0 100644 (file)
@@ -1,5 +1,5 @@
 User visible changes in release 2.0
-* add pwd and users commands
+* add hostname, pwd, and users commands
 * --version outputs the name of the utility as well as the package name
   and version number.
 * Configure properly determines options for stty on SCO ODT 3.0 systems.
index 06fa294..96c3bbf 100644 (file)
--- a/src/pwd.c
+++ b/src/pwd.c
@@ -29,6 +29,7 @@
 #endif
 
 #include <stdio.h>
+#include <sys/types.h>
 
 #include "system.h"
 #include "long-options.h"