1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 18:00:40 -08:00
emacs/nt/inc/sys
Paul Eggert 95ef7787fb 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
2012-11-22 23:48:43 -08:00
..
file.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
ioctl.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
param.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
socket.h Assume POSIX 1003.1-1988 or later for fcntl.h. 2012-11-17 14:12:47 -08:00
stat.h Support symlinks on latest versions of MS-Windows. 2012-08-03 13:23:30 +03:00
time.h Support atimers and CPU profiler via profile.c on MS-Windows. 2012-09-30 17:49:05 +02:00
wait.h Fix bug #12829 with aborts on MS-Windows when several child processes die. 2012-11-17 18:46:45 +02:00