Fixed bug with ss_find_file under unix

SVN revision: 182
This commit is contained in:
Stefan Ritt 2002-07-25 15:37:26 +00:00
parent 11937112e2
commit 698ae68b02

View File

@ -6,6 +6,9 @@
Contents: Web server program for Electronic Logbook ELOG
$Log$
Revision 2.48 2002/07/25 15:37:26 midas
Fixed bug with ss_find_file under unix
Revision 2.47 2002/07/25 09:22:05 midas
Removed scandir() for Solaris compatibility
@ -1397,6 +1400,7 @@ INT ss_file_find(char *path, char *pattern, char **plist)
#ifdef OS_UNIX
DIR *dir_pointer;
struct dirent *dp;
int i;
if ((dir_pointer = opendir(path)) == NULL)
return 0;
@ -1414,6 +1418,7 @@ INT ss_file_find(char *path, char *pattern, char **plist)
}
}
closedir(dir_pointer);
return i;
#endif
#ifdef OS_WINNT