summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2010-05-20 18:45:16 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2010-05-20 18:45:16 +0000
commit27c464bc157a95d2d82335c06178dd1a12e37675 (patch)
treefed19ad1296df9f32963ccec02d4dd8c5829fcc9
parent3b31a043a3cb528a3f0a0efcb8dba48ea2cc1d8d (diff)
downloadlibapr-27c464bc157a95d2d82335c06178dd1a12e37675.tar.gz
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 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@946752 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--file_io/win32/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file_io/win32/open.c b/file_io/win32/open.c
index 90933fcbf..bb0c70558 100644
--- a/file_io/win32/open.c
+++ b/file_io/win32/open.c
@@ -605,7 +605,7 @@ APR_DECLARE(apr_status_t) apr_file_link(const char *from_path,
#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