--------------------- PatchSet 679 Date: 2003/04/12 19:25:43 Author: serassio Branch: nt Tag: (none) Log: Fixed stupid win32 uppercase filename Members: port/win32/Makefile.am:1.2.18.1->1.2.18.2 port/win32/include/READDIR.H:1.2.18.1->1.2.18.2(DEAD) port/win32/include/Readdir.h:1.1->1.1.2.1 Index: squid3/port/win32/Makefile.am =================================================================== RCS file: /cvsroot/squid-sf//squid3/port/win32/Attic/Makefile.am,v retrieving revision 1.2.18.1 retrieving revision 1.2.18.2 diff -u -r1.2.18.1 -r1.2.18.2 --- squid3/port/win32/Makefile.am 25 Feb 2003 02:48:34 -0000 1.2.18.1 +++ squid3/port/win32/Makefile.am 12 Apr 2003 19:27:14 -0000 1.2.18.2 @@ -1,6 +1,6 @@ ## Process this file with automake to produce Makefile.in # -# $Id: Makefile.am,v 1.2.18.1 2003/02/25 02:48:34 hno Exp $ +# $Id: Makefile.am,v 1.2.18.2 2003/04/12 19:27:14 serassio Exp $ # EXTRA_DIST = \ @@ -27,7 +27,7 @@ include/cdefs.h \ include/crypt.h \ include/getopt.h \ - include/READDIR.h \ + include/Readdir.h \ include/squid-mswin.h \ ip_user_check/ip_user_check.dsp \ LDAP_auth/LDAP_auth.dsp \ --- squid3/port/win32/include/READDIR.H Wed Feb 14 12:16:33 2007 +++ /dev/null Wed Feb 14 12:16:11 2007 @@ -1,40 +0,0 @@ -/* - * Structures and types used to implement opendir/readdir/closedir - * on Windows 95/NT. -*/ - -#include -#include -#include - -/* To keep API definitions clear */ -#ifdef __cplusplus -#define SQUIDCEXTERN extern "C" -#else -#define SQUIDCEXTERN extern -#endif - -#ifdef _MSC_VER /* Microsoft C Compiler ONLY */ -/* struct dirent - same as Unix */ -struct dirent { - long d_ino; /* inode (always 1 in WIN32) */ - off_t d_off; /* offset to this dirent */ - unsigned short d_reclen; /* length of d_name */ - char d_name[_MAX_FNAME+1]; /* filename (null terminated) */ -}; - -/* typedef DIR - not the same as Unix */ -typedef struct { - long handle; /* _findfirst/_findnext handle */ - short offset; /* offset into directory */ - short finished; /* 1 if there are not more files */ - struct _finddata_t fileinfo; /* from _findfirst/_findnext */ - char *dir; /* the dir we are reading */ - struct dirent dent; /* the dirent to return */ -} DIR; - -/* Function prototypes */ -SQUIDCEXTERN DIR * opendir(const char *); -SQUIDCEXTERN struct dirent * readdir(DIR *); -SQUIDCEXTERN int closedir(DIR *); -#endif --- /dev/null Wed Feb 14 12:16:11 2007 +++ squid3/port/win32/include/Readdir.h Wed Feb 14 12:16:33 2007 @@ -0,0 +1,40 @@ +/* + * Structures and types used to implement opendir/readdir/closedir + * on Windows 95/NT. +*/ + +#include +#include +#include + +/* To keep API definitions clear */ +#ifdef __cplusplus +#define SQUIDCEXTERN extern "C" +#else +#define SQUIDCEXTERN extern +#endif + +#ifdef _MSC_VER /* Microsoft C Compiler ONLY */ +/* struct dirent - same as Unix */ +struct dirent { + long d_ino; /* inode (always 1 in WIN32) */ + off_t d_off; /* offset to this dirent */ + unsigned short d_reclen; /* length of d_name */ + char d_name[_MAX_FNAME+1]; /* filename (null terminated) */ +}; + +/* typedef DIR - not the same as Unix */ +typedef struct { + long handle; /* _findfirst/_findnext handle */ + short offset; /* offset into directory */ + short finished; /* 1 if there are not more files */ + struct _finddata_t fileinfo; /* from _findfirst/_findnext */ + char *dir; /* the dir we are reading */ + struct dirent dent; /* the dirent to return */ +} DIR; + +/* Function prototypes */ +SQUIDCEXTERN DIR * opendir(const char *); +SQUIDCEXTERN struct dirent * readdir(DIR *); +SQUIDCEXTERN int closedir(DIR *); +#endif