nmh-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nmh-commits] [SCM] The nmh Mail Handling System branch, posix, updated.


From: Lyndon Nerenberg
Subject: [Nmh-commits] [SCM] The nmh Mail Handling System branch, posix, updated. 94a615743d3366dc143d921f78811b15ab0c0886
Date: Sun, 25 Dec 2011 20:24:36 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The nmh Mail Handling System".

The branch, posix has been updated
       via  94a615743d3366dc143d921f78811b15ab0c0886 (commit)
      from  7117537a33aa236fb10017962734b4011a2775e9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/nmh.git/commit/?id=94a615743d3366dc143d921f78811b15ab0c0886


commit 94a615743d3366dc143d921f78811b15ab0c0886
Author: Lyndon Nerenberg <address@hidden>
Date:   Sun Dec 25 12:23:41 2011 -0800

    Nuke directory processing conditionals; use dirent.h.

diff --git a/config.h b/config.h
index a462685..e8eb907 100644
--- a/config.h
+++ b/config.h
@@ -182,9 +182,6 @@
 /* Define to 1 if you have the `mbtowc' function. */
 #define HAVE_MBTOWC 1
 
-/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
-/* #undef HAVE_NDIR_H */
-
 /* Define to 1 if you have the `nl_langinfo' function. */
 #define HAVE_NL_LANGINFO 1
 
@@ -204,14 +201,6 @@
 /* Define to 1 if `ut_type' is member of `struct utmp'. */
 /* #undef HAVE_STRUCT_UTMP_UT_TYPE */
 
-/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
-   */
-/* #undef HAVE_SYS_DIR_H */
-
-/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
-   */
-/* #undef HAVE_SYS_NDIR_H */
-
 /* Define to 1 if you have the <sys/param.h> header file. */
 #define HAVE_SYS_PARAM_H 1
 
diff --git a/h/nmh.h b/h/nmh.h
index c354482..8ff4ba8 100644
--- a/h/nmh.h
+++ b/h/nmh.h
@@ -10,22 +10,8 @@
 #include <ctype.h>
 #include <sys/stat.h>
 
-#if HAVE_DIRENT_H
 # include <dirent.h>
-# define NLENGTH(dirent) strlen((dirent)->d_name)
-#else
-# define dirent direct
-# define NLENGTH(dirent) (dirent)->d_namlen
-# if HAVE_SYS_NDIR_H
-#  include <sys/ndir.h>
-# endif
-# if HAVE_SYS_DIR_H
-#  include <sys/dir.h>
-# endif
-# if HAVE_NDIR_H
-#  include <ndir.h>
-# endif
-#endif
+#define NLENGTH(dirent) strlen((dirent)->d_name)
 
 #include <stdlib.h>
 #include <stdarg.h>

-----------------------------------------------------------------------

Summary of changes:
 config.h |   11 -----------
 h/nmh.h  |   16 +---------------
 2 files changed, 1 insertions(+), 26 deletions(-)


hooks/post-receive
-- 
The nmh Mail Handling System



reply via email to

[Prev in Thread] Current Thread [Next in Thread]