From 9fbdcb53116f34d9ac8da1ee1548af20581183aa Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Sat, 9 Jun 2001 18:06:32 +0000 Subject: Fix problems with zwcstat() on systems that do not USE_MMAP. --- Src/utils.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'Src/utils.c') diff --git a/Src/utils.c b/Src/utils.c index 9ef3ec88c..6bede2e43 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -3829,22 +3829,3 @@ mailstat(char *path, struct stat *st) return 0; } #endif - -/**/ -mod_export int -zwcstat(char *filename, struct stat *buf, FuncDump dumps) -{ - FuncDump f; - - if (stat(filename, buf)) { -#ifdef HAVE_FSTAT - for (f = dumps; f; f = f->next) { - if (!strncmp(filename, f->filename, strlen(f->filename)) && - !fstat(f->fd, buf)) - return 0; - } -#endif - return 1; - } else return 0; - -} -- cgit v1.2.3