version 1.160, 2003/01/06 15:42:05
|
version 1.161, 2003/01/07 14:32:47
|
Line 37 typedef struct _HTURI
|
Line 37 typedef struct _HTURI
|
#define stat _stat |
#define stat _stat |
#define uint64_t unsigned __int64 |
#define uint64_t unsigned __int64 |
#define getpid _getpid |
#define getpid _getpid |
#else |
#else /* _WINDOWS */ |
#define TMPDIR "TMPDIR" |
#define TMPDIR "TMPDIR" |
|
#if HAVE_STDINT_H |
|
#include <stdint.h> |
|
#endif /* HAVE_STDINT_H */ |
#endif /* _WINDOWS */ |
#endif /* _WINDOWS */ |
|
|
/*---------------------------------------------------------------------- |
/*---------------------------------------------------------------------- |
Line 2445 char *GetTempName (const char *dir, cons
|
Line 2448 char *GetTempName (const char *dir, cons
|
len++; |
len++; |
} |
} |
|
|
/* copy the prefix (no more than L_tmpnam chars, to respect posix). Save |
/* copy the prefix (no more than L_tmpnam chars, to respect POSIX). Save |
space for the 6 X and EOS chars that will become the random bits */ |
space for the 6 X and EOS chars that will become the random bits */ |
if (prefix) |
if (prefix) |
{ |
{ |