apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@covalent.net>
Subject Re: cvs commit: apr/file_io/win32 open.c
Date Tue, 12 Feb 2002 01:35:14 GMT
I'm near certain we want to fall over gracefully here, correct???

> wrowe       02/02/11 17:32:55
> 
>   Modified:    file_io/win32 open.c
>   Log:
>     stdfoo handles are unsupported on WinCE.  Submitted by Mladen Turk
>     <mturk@mappingsoft.com>.
>   
>     I believe the patch for CE is wrong is one respect, IIRC we should fall
>     over from MoveFile to CopyFile if the file device varied.  Confirmation?
>   
>   Revision  Changes    Path
>   1.94      +20 -0     apr/file_io/win32/open.c
>   
>   @@ -466,8 +470,12 @@
>                                                 / sizeof(apr_wchar_t), topath)) {
>                return rv;
>            }
>   +#ifndef _WIN32_WCE
>            if (MoveFileExW(wfrompath, wtopath, MOVEFILE_REPLACE_EXISTING |
>                                                MOVEFILE_COPY_ALLOWED))
>   +#else
>   +        if (MoveFileW(wfrompath, wtopath))
>   +#endif
>                return APR_SUCCESS;
>    #else
>            if (MoveFileEx(frompath, topath, MOVEFILE_REPLACE_EXISTING |



Mime
View raw message