reset error for retrieve. Remove sleep call
[idzebra-moved-to-github.git] / util / dirent.c
index 2127fd4..d0e7ef4 100644 (file)
@@ -1,29 +1,24 @@
 /*
- * Copyright (C) 1997-1999, Index Data
+ * Copyright (C) 1997-2002, Index Data
  * All rights reserved.
- * Sebastian Hammer, Adam Dickmeiss
  *
- * $Log: dirent.c,v $
- * Revision 1.3  1999-02-02 14:51:38  adam
- * Updated WIN32 code specific sections. Changed header.
- *
- * Revision 1.2  1997/09/17 12:19:24  adam
- * Zebra version corresponds to YAZ version 1.4.
- * Changed Zebra server so that it doesn't depend on global common_resource.
- *
- * 
+ * $Id: dirent.c,v 1.5 2002-04-04 20:50:37 adam Exp $
  *
  * This utility implements a opendir/readdir/close on Windows.
  */
 
-#ifdef WIN32
+#include <ctype.h>
 #include <assert.h>
+#ifdef WIN32
 #include <io.h>
+#endif
 #include <string.h>
 #include <stdlib.h>
 
 #include <direntz.h>
 
+#ifdef WIN32
+
 struct DIR {
     HANDLE handle;
     WIN32_FIND_DATA find_data;
@@ -65,3 +60,4 @@ void closedir(DIR *dd)
 }
 
 #endif
+