changeset 61700:8a54ce1fae6a

Remove reference to defunct vms-pwd.h. For pwd.h, use HAVE_PWD_H, not !VMS.
author Thien-Thi Nguyen <ttn@gnuvola.org>
date Wed, 20 Apr 2005 15:07:03 +0000
parents 30b4d819a855
children 32504a982bfc
files src/dired.c src/editfns.c src/fileio.c src/filelock.c src/xrdb.c
diffstat 5 files changed, 8 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/src/dired.c	Wed Apr 20 14:32:05 2005 +0000
+++ b/src/dired.c	Wed Apr 20 15:07:03 2005 +0000
@@ -26,10 +26,10 @@
 #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
 
--- a/src/editfns.c	Wed Apr 20 14:32:05 2005 +0000
+++ b/src/editfns.c	Wed Apr 20 15:07:03 2005 +0000
@@ -24,9 +24,7 @@
 #include <sys/types.h>
 #include <stdio.h>
 
-#ifdef VMS
-#include "vms-pwd.h"
-#else
+#ifdef HAVE_PWD_H
 #include <pwd.h>
 #endif
 
--- a/src/fileio.c	Wed Apr 20 14:32:05 2005 +0000
+++ b/src/fileio.c	Wed Apr 20 15:07:03 2005 +0000
@@ -45,9 +45,7 @@
 #  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
 
--- a/src/filelock.c	Wed Apr 20 14:32:05 2005 +0000
+++ b/src/filelock.c	Wed Apr 20 15:07:03 2005 +0000
@@ -26,11 +26,9 @@
 #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
--- a/src/xrdb.c	Wed Apr 20 14:32:05 2005 +0000
+++ b/src/xrdb.c	Wed Apr 20 15:07:03 2005 +0000
@@ -53,9 +53,7 @@
 #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>