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:49:08 UTC
svn commit: r946753 - /apr/apr/branches/1.4.x/file_io/win32/open.c
Author: trawick
Date: Thu May 20 18:49:08 2010
New Revision: 946753
URL: http://svn.apache.org/viewvc?rev=946753&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.4.x with r921241
Modified:
apr/apr/branches/1.4.x/file_io/win32/open.c
Modified: apr/apr/branches/1.4.x/file_io/win32/open.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.4.x/file_io/win32/open.c?rev=946753&r1=946752&r2=946753&view=diff
==============================================================================
--- apr/apr/branches/1.4.x/file_io/win32/open.c (original)
+++ apr/apr/branches/1.4.x/file_io/win32/open.c Thu May 20 18:49:08 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