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 x309


> -----Original Message-----
> From: AOLserver Discussion [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). The Tcl command"ns_tmpnam" is implemented in C
> using tmpnam(), which exists under WIN32, but behaves differently
> as on unix counterparts and is practically unusable. The problem is
> that tmnam() under Windows generates a filename for the root directory
> of the
> actual drive (at least under Vista, no permissions under normal
> conditions) and
> ignores the TMP environment variable.
>
> See some background info form Microsoft:
> http://msdn2.microsoft.com/en-us/library/hs3e7355(VS.80).aspx
>
> I have commited a patch to CVS head to address this problem.
> http://aolserver.cvs.sourceforge.net/aolserver/aolserver/nsd/tclfile.c?
> r1=1.25&r2=1.26
> The patch is local and documents the intended behavior and background
> in
> detail.
> Please crosscheck.
>
> best regards
> -gustaf neumann
>
>
> --
> AOLserver - http://www.aolserver.com/
>
> To Remove yourself from this list, simply send an email to
> <[EMAIL PROTECTED]> with the
> body of "SIGNOFF AOLSERVER" in the email message. You can leave the
> Subject: field of your email blank.


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to