Re: [AOLSERVER] Fix for ns_tmpnam under Windows

2008-05-06 Thread Gustaf Neumann
fixed. -gustaf neumann Titi Alailima schrieb: There is a missing variable declaration in this patch for i, the for-loop index. Anyone want to make this fix and commit it? -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to [EMAIL

Re: [AOLSERVER] Fix for ns_tmpnam under Windows

2008-05-05 Thread Titi Alailima
[mailto:[EMAIL PROTECTED] On Behalf Of Gustaf Neumann Sent: Thursday, April 24, 2008 3:33 AM To: AOLSERVER@LISTSERV.AOL.COM Subject: [AOLSERVER] Fix for ns_tmpnam under Windows Dear AOLserver community There was a problem with ns_tmpnam, when the aolserver was compiled under windows (esp. Vista

Re: [AOLSERVER] Fix for ns_tmpnam under Windows

2008-05-05 Thread Maurizio Martignano
@LISTSERV.AOL.COM Subject: Re: [AOLSERVER] Fix for ns_tmpnam under Windows There is a missing variable declaration in this patch for i, the for-loop index. Anyone want to make this fix and commit it? Titi Ala'ilima Lead Architect MedTouch LLC 1100 Massachusetts Avenue Cambridge, MA 02138 617.621.8670

Re: [AOLSERVER] Fix for ns_tmpnam under Windows

2008-05-05 Thread Tom Jackson
PROTECTED] On Behalf Of Gustaf Neumann Sent: Thursday, April 24, 2008 3:33 AM To: AOLSERVER@LISTSERV.AOL.COM Subject: [AOLSERVER] Fix for ns_tmpnam under Windows Dear AOLserver community There was a problem with ns_tmpnam, when the aolserver was compiled under windows (esp. Vista

[AOLSERVER] Fix for ns_tmpnam under Windows

2008-04-24 Thread Gustaf Neumann
Dear AOLserver community There was a problem with ns_tmpnam, when the aolserver was compiled under windows (esp. Vista). The Tcl commandns_tmpnam is implemented in C using tmpnam(), which exists under WIN32, but behaves differently as on unix counterparts and is practically unusable. The problem

Re: [AOLSERVER] Fix for ns_tmpnam under Windows

2008-04-24 Thread Dossy Shiobara
On 2008.04.24, Gustaf Neumann [EMAIL PROTECTED] wrote: I have commited a patch to CVS head to address this problem. http://aolserver.cvs.sourceforge.net/aolserver/aolserver/nsd/tclfile.c?r1=1.25r2=1.26 The patch is local and documents the intended behavior and background in detail. Please

Re: [AOLSERVER] Fix for ns_tmpnam under Windows

2008-04-24 Thread Tom Jackson
Isn't there a new safe version of these functions? The link to msdn also suggests that the replacements are depricated. In general, I think that the directory where the temp file is created should not be world writable. Some while back there was a suggestion to replace the C function with a