X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fdired-msw.c;h=73dfe42ac71deaae7eff31f2d9e53fce3a327994;hb=d3f00117a3640188085974d98646c33aaedb81f5;hp=80d5ddcbcaf1435707ee9a74dfbe7d99d491a8db;hpb=c8aa261a7bf3eb1389d2e018be1d715f73cacd66;p=chise%2Fxemacs-chise.git- diff --git a/src/dired-msw.c b/src/dired-msw.c index 80d5ddc..73dfe42 100644 --- a/src/dired-msw.c +++ b/src/dired-msw.c @@ -75,11 +75,10 @@ Boston, MA 02111-1307, USA. */ #include "buffer.h" #include "regex.h" -#include "sysfile.h" #include "sysdir.h" #include "sysproc.h" +#include "sysfile.h" -#include #include #include /* To make nt.h happy */ @@ -188,7 +187,7 @@ mswindows_get_files (char *dirfile, int nowild, Lisp_Object pattern, /* PATTERN might be a flawed regular expression. Rather than catching and signalling our own errors, we just call compile_pattern to do the work for us. */ - bufp = compile_pattern (pattern, 0, 0, 0, ERROR_ME); + bufp = compile_pattern (pattern, 0, Qnil, 0, ERROR_ME); } /* Now *bufp is the compiled form of PATTERN; don't call anything which might compile a new regexp until we're done with the loop! */ @@ -209,9 +208,9 @@ mswindows_get_files (char *dirfile, int nowild, Lisp_Object pattern, /* * Here, we use FindFirstFile()/FindNextFile() instead of opendir(), - * stat(), & friends, because stat() is VERY expensive in terms of - * time. Hence, we take the time to write complicated Win32-specific - * code, instead of simple Unix-style stuff. + * xemacs_stat(), & friends, because xemacs_stat() is VERY expensive in + * terms of time. Hence, we take the time to write complicated + * Win32-specific code, instead of simple Unix-style stuff. */ findex = 0; fh = INVALID_HANDLE_VALUE;