Mercurial > hg > xemacs-beta
comparison src/dired-msw.c @ 442:abe6d1db359e r21-2-36
Import from CVS: tag r21-2-36
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:35:02 +0200 |
parents | 8de8e3f6228a |
children | 1ccc32a20af4 |
comparison
equal
deleted
inserted
replaced
441:72a7cfa4a488 | 442:abe6d1db359e |
---|---|
73 #include "lisp.h" | 73 #include "lisp.h" |
74 | 74 |
75 #include "buffer.h" | 75 #include "buffer.h" |
76 #include "regex.h" | 76 #include "regex.h" |
77 | 77 |
78 #include "sysfile.h" | |
79 #include "sysdir.h" | 78 #include "sysdir.h" |
80 #include "sysproc.h" | 79 #include "sysproc.h" |
81 | 80 #include "sysfile.h" |
82 #include <limits.h> | 81 |
83 #include <time.h> | 82 #include <time.h> |
84 | 83 |
85 #include <winsock.h> /* To make nt.h happy */ | 84 #include <winsock.h> /* To make nt.h happy */ |
86 #include "nt.h" /* For prototypes */ | 85 #include "nt.h" /* For prototypes */ |
87 | 86 |
207 strcat (win32pattern, "*"); | 206 strcat (win32pattern, "*"); |
208 } | 207 } |
209 | 208 |
210 /* | 209 /* |
211 * Here, we use FindFirstFile()/FindNextFile() instead of opendir(), | 210 * Here, we use FindFirstFile()/FindNextFile() instead of opendir(), |
212 * stat(), & friends, because stat() is VERY expensive in terms of | 211 * xemacs_stat(), & friends, because xemacs_stat() is VERY expensive in |
213 * time. Hence, we take the time to write complicated Win32-specific | 212 * terms of time. Hence, we take the time to write complicated |
214 * code, instead of simple Unix-style stuff. | 213 * Win32-specific code, instead of simple Unix-style stuff. |
215 */ | 214 */ |
216 findex = 0; | 215 findex = 0; |
217 fh = INVALID_HANDLE_VALUE; | 216 fh = INVALID_HANDLE_VALUE; |
218 | 217 |
219 while (1) | 218 while (1) |