From cd404b747702d8eaf7fd657b36eef419aad82b97 Mon Sep 17 00:00:00 2001 From: Spoike Date: Sun, 20 Mar 2005 03:05:36 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@907 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/server/sv_sys_unix.c | 35 ----------------------------------- 1 file changed, 35 deletions(-) diff --git a/engine/server/sv_sys_unix.c b/engine/server/sv_sys_unix.c index c98c3fbea..b02aa0d47 100644 --- a/engine/server/sv_sys_unix.c +++ b/engine/server/sv_sys_unix.c @@ -335,41 +335,6 @@ int main(int argc, char *argv[]) -//1 if match -//FIXME: make windows like - *.* becomes * -int wildcmp(char *wild, char *string) { - char *cp, *mp; - - while ((*string) && (*wild != '*')) { - if ((*wild != *string) && (*wild != '?')) { - return 0; - } - wild++; - string++; - } - - while (*string) { - if (*wild == '*') { - if (!*++wild) { - return 1; - } - mp = wild; - cp = string+1; - } else if ((*wild == *string) || (*wild == '?')) { - wild++; - string++; - } else { - wild = mp; - string = cp++; - } - } - - while (*wild == '*') { - wild++; - } - return !*wild; -} - int Sys_EnumerateFiles (char *gpath, char *match, int (*func)(char *, int, void *), void *parm) {