You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by tr...@apache.org on 2010/05/20 20:45:16 UTC

svn commit: r946752 - /apr/apr/branches/1.5.x/file_io/win32/open.c

Author: trawick
Date: Thu May 20 18:45:16 2010
New Revision: 946752

URL: http://svn.apache.org/viewvc?rev=946752&view=rev
Log:
merge the remainder of r920897 from trunk in order to fix a compile failure
with the call to CreateHardLinkA()

(must have third parameter NULL)

part of r920897 was merged into 1.5.x with r921306

Modified:
    apr/apr/branches/1.5.x/file_io/win32/open.c

Modified: apr/apr/branches/1.5.x/file_io/win32/open.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.5.x/file_io/win32/open.c?rev=946752&r1=946751&r2=946752&view=diff
==============================================================================
--- apr/apr/branches/1.5.x/file_io/win32/open.c (original)
+++ apr/apr/branches/1.5.x/file_io/win32/open.c Thu May 20 18:45:16 2010
@@ -605,7 +605,7 @@ APR_DECLARE(apr_status_t) apr_file_link(
 #endif
 #if APR_HAS_ANSI_FS
     ELSE_WIN_OS_IS_ANSI {
-        if (!CreateHardLinkA(to_path, from_path))
+        if (!CreateHardLinkA(to_path, from_path, NULL))
                 return apr_get_os_error();
     }
 #endif