On Tue, Mar 9, 2010 at 10:42 AM, <[email protected]> wrote: > Author: jfclere > Date: Tue Mar 9 14:42:23 2010 > New Revision: 920897 > > URL: http://svn.apache.org/viewvc?rev=920897&view=rev > Log: > typos? Otherwise it won't compile. > > Modified: > apr/apr/trunk/file_io/win32/open.c > > Modified: apr/apr/trunk/file_io/win32/open.c > URL: > http://svn.apache.org/viewvc/apr/apr/trunk/file_io/win32/open.c?rev=920897&r1=920896&r2=920897&view=diff > ============================================================================== > --- apr/apr/trunk/file_io/win32/open.c (original) > +++ apr/apr/trunk/file_io/win32/open.c Tue Mar 9 14:42:23 2010 > @@ -610,8 +610,8 @@ APR_DECLARE(apr_status_t) apr_file_link( > #endif > #if APR_HAS_ANSI_FS > ELSE_WIN_OS_IS_ANSI { > - if (!CreateHardLinkA(wto_path, wfrom_path)) > - return apr_get_os_error() > + if (!CreateHardLinkA(to_path, from_path, NULL)) > + return apr_get_os_error();
lame question months late: What is the compilation environment in which this ANSI_FS code is compiled -- i.e., WINNT is not defined? Old OS or old MS SDK or ??? #if defined(_WIN32_WCE) || defined(WINNT) #define APR_HAS_ANSI_FS 0 #else #define APR_HAS_ANSI_FS 1 #endif
