apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r946752 - /apr/apr/branches/1.5.x/file_io/win32/open.c
Date Thu, 20 May 2010 18:45:16 GMT
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



Mime
View raw message