bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: GSHTTPUrlHandle path handling


From: Adam Fedor
Subject: RE: GSHTTPUrlHandle path handling
Date: Tue, 27 Apr 2004 20:24:50 -0400


> From: Sheldon Gill [mailto:sheldon@iinet.net.au]
> 
> In GSHTTPUrlHandle.m, + initialise:
> 
>       sprintf(debugFile, "/tmp/GSHTTP.%d",
>       [[NSProcessInfo processInfo] processIdentifier]);
> 
> assumes "/tmp".  Code should call NSTemporaryDirectory() to 
> establish the path 
> and append "GSHTTP.%d" for the file name.
> 
> Off the top of my head:
> 
> sprintf(debugFile, [[NSString stringWithFormat: 
> @"%@/GSHTTP.%d" arguments:
> [NSTemporaryDirectory() objectAtIndex: 0] [[NSProcessInfo 
> processInfo] 
> processIdentifier] nil] cString]);
> 


I fixed this.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]