[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
system.h change to accommodate recent gnulib changes
From: |
Paul Eggert |
Subject: |
system.h change to accommodate recent gnulib changes |
Date: |
Tue, 11 Jul 2006 10:23:31 -0700 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
I installed this and propagated the recent gnulib changes for
dirent.h into coreutils.
2006-07-11 Paul Eggert <address@hidden>
* src/system.h: Assume <dirent.h> exists, since gnulib assumes
this now as well.
--- src/system.h 9 Jul 2006 17:01:13 -0000 1.149
+++ src/system.h 11 Jul 2006 17:16:51 -0000
@@ -224,15 +224,9 @@ initialize_exit_failure (int status)
# define O_TEXT 0
#endif
-#if HAVE_DIRENT_H
-# include <dirent.h>
-# ifndef _D_EXACT_NAMLEN
-# define _D_EXACT_NAMLEN(dp) strlen ((dp)->d_name)
-# endif
-#else
-# define dirent direct
-# define _D_EXACT_NAMLEN(dp) (dp)->d_namlen
-# include <ndir.h>
+#include <dirent.h>
+#ifndef _D_EXACT_NAMLEN
+# define _D_EXACT_NAMLEN(dp) strlen ((dp)->d_name)
#endif
enum
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- system.h change to accommodate recent gnulib changes,
Paul Eggert <=