aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2012-11-22 23:48:43 -0800
committerPaul Eggert2012-11-22 23:48:43 -0800
commit95ef7787fb0a5786a2e4f150649aadfa687a15f2 (patch)
treec109235849121c6909c8dd5075ddf63ed847ee82 /src/ChangeLog
parent6f6b82d66f73e65545865b72f109dbf695934aea (diff)
downloademacs-95ef7787fb0a5786a2e4f150649aadfa687a15f2.tar.gz
emacs-95ef7787fb0a5786a2e4f150649aadfa687a15f2.zip
Assume POSIX 1003.1-1988 or later for dirent.h.
* admin/CPP-DEFINES (HAVE_CLOSEDIR, HAVE_DIRENT_H): Remove. * admin/notes/copyright: Adjust to src/ndir.h -> nt/inc/dirent.h renaming. * configure.ac: Do not check for dirent.h or closdir. * nt/inc/dirent.h: Rename from ../src/ndir.h, with these changes: (struct dirent): Rename from struct direct. All uses changed. * nt/inc/sys/dir.h: Remove. * src/dired.c: Assume HAVE_DIRENT_H. (NAMLEN): Remove, replacing with ... (dirent_namelen): New function. All uses changed. Use the GNU macro _D_EXACT_NAMELEN if available, as it's faster than strlen. (DIRENTRY): Remove, replacing all uses with 'struct dirent'. (DIRENTRY_NONEMPTY): Remove. All callers now assume it's nonzero. * src/makefile.w32-in (DIR_H): Remove. All uses replaced with $(NT_INC)/dirent.h. ($(BLD)/w32.$(O)): Do not depend on $(SRC)/ndir.h. * src/ndir.h: Rename to ../nt/inc/dirent.h. * src/sysdep.h (closedir) [!HAVE_CLOSEDIR]: Remove. Do not include <dirent.h>; no longer needed. * src/w32.c: Include <dirent.h> rather than "ndir.h". Fixes: debbugs:12958
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index d0f4ad6869d..5566b623cec 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,20 @@
12012-11-23 Paul Eggert <eggert@cs.ucla.edu>
2
3 Assume POSIX 1003.1-1988 or later for dirent.h (Bug#12958).
4 * dired.c: Assume HAVE_DIRENT_H.
5 (NAMLEN): Remove, replacing with ...
6 (dirent_namelen): New function. All uses changed. Use the GNU macro
7 _D_EXACT_NAMELEN if available, as it's faster than strlen.
8 (DIRENTRY): Remove, replacing all uses with 'struct dirent'.
9 (DIRENTRY_NONEMPTY): Remove. All callers now assume it's nonzero.
10 * makefile.w32-in (DIR_H): Remove. All uses replaced with
11 $(NT_INC)/dirent.h.
12 ($(BLD)/w32.$(O)): Do not depend on $(SRC)/ndir.h.
13 * ndir.h: Rename to ../nt/inc/dirent.h.
14 * sysdep.h (closedir) [!HAVE_CLOSEDIR]: Remove.
15 Do not include <dirent.h>; no longer needed.
16 * w32.c: Include <dirent.h> rather than "ndir.h".
17
12012-11-23 Chong Yidong <cyd@gnu.org> 182012-11-23 Chong Yidong <cyd@gnu.org>
2 19
3 * xftfont.c (xftfont_open): Remove duplicate assignment. 20 * xftfont.c (xftfont_open): Remove duplicate assignment.