mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Tidied for windoze
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14328 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
589ec2569d
commit
8b1fc0e981
5 changed files with 15 additions and 1490 deletions
|
@ -36,6 +36,7 @@
|
|||
#include <Foundation/NSLock.h>
|
||||
#include <Foundation/NSFileHandle.h>
|
||||
#include <Foundation/NSDebug.h>
|
||||
#include <Foundation/NSProcessInfo.h>
|
||||
#include <Foundation/GSMime.h>
|
||||
#include <string.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
|
@ -233,7 +234,8 @@ static void debugWrite(NSData *data)
|
|||
urlCache = [NSMutableDictionary new];
|
||||
urlLock = [NSLock new];
|
||||
debugLock = [NSLock new];
|
||||
sprintf(debugFile, "/tmp/GSHTTP.%d", getpid());
|
||||
sprintf(debugFile, "/tmp/GSHTTP.%d",
|
||||
[[NSProcessInfo processInfo] processIdentifier]);
|
||||
#ifndef __MINGW__
|
||||
sslClass = [NSFileHandle sslClass];
|
||||
#endif
|
||||
|
|
|
@ -718,12 +718,13 @@ failure:
|
|||
{
|
||||
char thePath[BUFSIZ*2+8];
|
||||
char theRealPath[BUFSIZ*2];
|
||||
FILE *theFile;
|
||||
int c;
|
||||
#if defined(__MINGW__)
|
||||
NSString *tmppath = path;
|
||||
HANDLE fh;
|
||||
DWORD wroteBytes;
|
||||
#else
|
||||
FILE *theFile;
|
||||
#endif
|
||||
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue