]> code.delx.au - gnu-emacs/commitdiff
Remove reference to defunct vms-pwd.h.
authorThien-Thi Nguyen <ttn@gnuvola.org>
Wed, 20 Apr 2005 15:07:03 +0000 (15:07 +0000)
committerThien-Thi Nguyen <ttn@gnuvola.org>
Wed, 20 Apr 2005 15:07:03 +0000 (15:07 +0000)
For pwd.h, use HAVE_PWD_H, not !VMS.

src/dired.c
src/editfns.c
src/fileio.c
src/filelock.c
src/xrdb.c

index 62bf4beb384564d01cd101901597ac11e57c6e58..87b48ba2d780c6042a137285635ec612d4fe8507 100644 (file)
@@ -26,10 +26,10 @@ Boston, MA 02111-1307, USA.  */
 #include <sys/types.h>
 #include <sys/stat.h>
 
-#ifdef VMS
-#include "vms-pwd.h"
-#else
+#ifdef HAVE_PWD_H
 #include <pwd.h>
+#endif
+#ifndef VMS
 #include <grp.h>
 #endif
 
index f77b9cafc80574a6318ed18dd0f4175bbfae3fb4..ddf080a0359005a8b104bfa92156292727b6e947 100644 (file)
@@ -24,9 +24,7 @@ Boston, MA 02111-1307, USA.  */
 #include <sys/types.h>
 #include <stdio.h>
 
-#ifdef VMS
-#include "vms-pwd.h"
-#else
+#ifdef HAVE_PWD_H
 #include <pwd.h>
 #endif
 
index 7e24c94783b8a667da087d1849ecff63d3dd6319..e4786974860fefd67a8a71eae614d8f4add18008 100644 (file)
@@ -45,9 +45,7 @@ Boston, MA 02111-1307, USA.  */
 #  define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
 #endif
 
-#ifdef VMS
-#include "vms-pwd.h"
-#else
+#ifdef HAVE_PWD_H
 #include <pwd.h>
 #endif
 
index 84540f793303d37e70f97452e3196cbae9b084c7..5ddec8616f8b825fc49b48d04133accf4a77eabd 100644 (file)
@@ -26,11 +26,9 @@ Boston, MA 02111-1307, USA.  */
 #include <signal.h>
 #include <stdio.h>
 
-#ifdef VMS
-#include "vms-pwd.h"
-#else
+#ifdef HAVE_PWD_H
 #include <pwd.h>
-#endif /* not VMS */
+#endif
 
 #include <sys/file.h>
 #ifdef HAVE_FCNTL_H
index 852fa2b808c08ebf2b22788a750778149225ae64..957227b7942daa80b800a2af9d61297d34af7409 100644 (file)
@@ -53,9 +53,7 @@ Boston, MA 02111-1307, USA.  */
 #include <X11/X.h>
 #include <X11/Xutil.h>
 #include <X11/Xresource.h>
-#ifdef VMS
-#include "vms-pwd.h"
-#else
+#ifdef HAVE_PWD_H
 #include <pwd.h>
 #endif
 #include <sys/stat.h>