Commit graph

21 commits

Author SHA1 Message Date
Roland McGrath
b8db661c24 (dir_setup_glob): Don't use lstat; glob never calls it anyway.
Avoid & before function names to silence bogus sunos4 compiler.
1995-12-14 07:22:03 +00:00
Roland McGrath
5df0d41985 (read_dirstream): Fix braino: fill in the buffer when not reallocating it! 1995-12-12 05:48:31 +00:00
Roland McGrath
caa2fe5d39 [HAVE_D_NAMLEN]: Define this for __GNU_LIBRARY__ > 1.
(D_NAMLEN): Macro removed.
(FAKE_DIR_ENTRY): New macro.
(dir_contents_file_exists_p): Test HAVE_D_NAMLEN instead of using D_NAMLEN.
(read_dirstream): Return a struct dirent * for new glob interface.
(init_dir): Function removed.
(dir_setup_glob): New function.
1995-12-12 03:37:15 +00:00
Roland McGrath
0afe62e255 (file_impossible_p): Correctly reset FILENAME to name within directory
before hash search.
1995-08-07 20:42:51 +00:00
Roland McGrath
e4c43aab3e Test HAVE_DIRENT_H, HAVE_SYS_DIR_H, HAVE_NDIR_H instead of DIRENT, SYSDIR,
NDIR.
1994-11-08 00:14:50 +00:00
Roland McGrath
b13a443fa7 [__MSDOS__]: Fixed typo. 1994-09-26 22:20:56 +00:00
Roland McGrath
21a1b3b255 [__MSDOS__] (dosify): New function.
(dir_contents_file_exists_p) [__MSDOS__]: Call it on FILENAME and process
the result instead of FILENAME itself.
(file_impossible_p) [__MSDOS__]: Likewise.
Part of MSDOS/GO32 port from DJ Delorie <dj@ctron.com>.
1994-07-25 23:01:19 +00:00
Roland McGrath
84091971f9 (find_directory): Use safe_stat in place of stat. 1994-07-04 21:53:25 +00:00
Roland McGrath
9697738544 entered into RCS 1993-06-02 20:56:37 +00:00
Roland McGrath
03acd42408 Formerly dir.c.~12~ 1993-05-14 22:41:07 +00:00
Roland McGrath
d8b7640a81 Formerly dir.c.~11~ 1993-04-12 20:51:44 +00:00
Roland McGrath
81e8efbcdf Formerly dir.c.~10~ 1993-01-22 19:46:10 +00:00
Roland McGrath
f2bc0a0c93 Formerly dir.c.~9~ 1993-01-06 20:07:35 +00:00
Roland McGrath
d13ecbbb67 Formerly dir.c.~8~ 1992-11-10 20:43:35 +00:00
Roland McGrath
7db4dd0dbd Formerly dir.c.~7~ 1992-10-15 23:11:04 +00:00
Roland McGrath
d9ffca6d79 Formerly dir.c.~6~ 1992-10-12 18:05:41 +00:00
Roland McGrath
8140043344 Formerly dir.c.~5~ 1992-10-11 21:25:04 +00:00
Roland McGrath
46ccc784fe Formerly dir.c.~4~ 1992-10-09 17:35:07 +00:00
Roland McGrath
e293b96610 Formerly dir.c.~3~ 1992-06-25 01:05:20 +00:00
Roland McGrath
a61fc8acd1 Formerly dir.c.~2~ 1992-06-11 04:58:32 +00:00
Roland McGrath
da136cba6f Initial revision 1991-10-18 19:26:24 +00:00