[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Cvs-cvs] ccvs/lib ChangeLog system.h
From: |
Derek Robert Price |
Subject: |
[Cvs-cvs] ccvs/lib ChangeLog system.h |
Date: |
Tue, 11 Jul 2006 12:18:58 +0000 |
CVSROOT: /cvsroot/cvs
Module name: ccvs
Changes by: Derek Robert Price <dprice> 06/07/11 12:18:58
Modified files:
lib : ChangeLog system.h
Log message:
* system.h: Ignore obsolescent !HAVE_DIRENT_H case.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/ccvs/lib/ChangeLog?cvsroot=cvs&r1=1.538&r2=1.539
http://cvs.savannah.gnu.org/viewcvs/ccvs/lib/system.h?cvsroot=cvs&r1=1.84&r2=1.85
Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/cvs/ccvs/lib/ChangeLog,v
retrieving revision 1.538
retrieving revision 1.539
diff -u -b -r1.538 -r1.539
--- ChangeLog 10 Jul 2006 20:09:40 -0000 1.538
+++ ChangeLog 11 Jul 2006 12:18:58 -0000 1.539
@@ -1,3 +1,7 @@
+2006-07-11 Derek Price <address@hidden>
+
+ * system.h: Ignore obsolescent !HAVE_DIRENT_H case.
+
2006-07-10 Jim Hyslop <address@hidden>
* libcvs.dep: Fixed relative directories in file
Index: system.h
===================================================================
RCS file: /cvsroot/cvs/ccvs/lib/system.h,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -b -r1.84 -r1.85
--- system.h 7 Jul 2006 12:34:19 -0000 1.84
+++ system.h 11 Jul 2006 12:18:58 -0000 1.85
@@ -177,14 +177,7 @@
# define R_OK 4
#endif
-#if HAVE_DIRENT_H
-# include <dirent.h>
-# define NAMLEN(dirent) strlen((dirent)->d_name)
-#else
-# define dirent direct
-# define NAMLEN(dirent) (dirent)->d_namlen
-# include <ndir.h>
-#endif
+#include <dirent.h>
/* Convert B 512-byte blocks to kilobytes if K is nonzero,
otherwise return it unchanged. */