X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=posix%2Flib%2Fpsxdll%2Ffcntl%2Fopen.c;h=922e7da135550da27df4ca9fd7eec9ce8a15faed;hp=ecc8043417e3f0704cbd40da7d90eb416af28015;hb=d24e468cb0e23a855a6690718d719c09fde00c2f;hpb=a2da78fa4e3cdca03026f171f211a0e152caf3f7 diff --git a/posix/lib/psxdll/fcntl/open.c b/posix/lib/psxdll/fcntl/open.c index ecc8043417e..922e7da1355 100644 --- a/posix/lib/psxdll/fcntl/open.c +++ b/posix/lib/psxdll/fcntl/open.c @@ -1,4 +1,4 @@ -/* $Id: open.c,v 1.2 2002/02/20 09:17:57 hyperion Exp $ +/* $Id: open.c,v 1.3 2002/05/17 01:54:39 hyperion Exp $ */ /* * COPYRIGHT: See COPYING in the top level directory @@ -52,7 +52,6 @@ int _Wopen(const wchar_t *path, int oflag, ...) mode_t mFileMode; #endif int nFileNo; - __fdtable_t *pftTable; __fildes_t fdDescriptor; /* translate file access flag */ @@ -131,9 +130,9 @@ int _Wopen(const wchar_t *path, int oflag, ...) 0, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, nCreateDisposition, - FILE_SYNCHRONOUS_IO_NONALERT, + nCreateOptions | FILE_SYNCHRONOUS_IO_NONALERT, NULL, - nCreateOptions + 0 ); /* failure */