Author: ablack
Date: Thu Aug  2 15:51:11 2007
New Revision: 562281

URL: http://svn.apache.org/viewvc?view=rev&rev=562281
Log:
2007-08-02  Andrew Black  <[EMAIL PROTECTED]>

        * exec.cpp [_WIN32] (exec_file): Fix incorrect variable name in
        conditionally compiled code, introduced in 
http://svn.apache.org/viewvc?view=rev&rev=562224


Modified:
    incubator/stdcxx/trunk/util/exec.cpp

Modified: incubator/stdcxx/trunk/util/exec.cpp
URL: 
http://svn.apache.org/viewvc/incubator/stdcxx/trunk/util/exec.cpp?view=diff&rev=562281&r1=562280&r2=562281
==============================================================================
--- incubator/stdcxx/trunk/util/exec.cpp (original)
+++ incubator/stdcxx/trunk/util/exec.cpp Thu Aug  2 15:51:11 2007
@@ -1046,8 +1046,8 @@
 
         /* Input redirection */
         context.hStdInput =
-            CreateFile (tmp_name, GENERIC_READ, FILE_SHARE_READ, &child_sa, 
-                        OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
+            CreateFile (options->infname, GENERIC_READ, FILE_SHARE_READ, 
+                        &child_sa, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
 
         if (INVALID_HANDLE_VALUE == context.hStdInput) { 
             CloseHandle (context.hStdOutput);


Reply via email to