Re: Why does cygwin1.dll use NtCreateFile() instead of CreateFile()

2005-01-31 Thread Dan Ch
On Mon, 31 Jan 2005, Brian Ford wrote: > On Sun, 30 Jan 2005, Dan Ch wrote: > > I noticed that cygwin-1.5.12-1/winsup/cygwin/fhandler.cc > > uses NtCreateFile() instead of CreateFile() on Windows NT based > > operating systems (NT, 2000, 2003, XP) for opening files. Why? I > > checked the archive

Re: Why does cygwin1.dll use NtCreateFile() instead of CreateFile()

2005-01-31 Thread Brian Ford
On Sun, 30 Jan 2005, Dan Ch wrote: > I noticed that cygwin-1.5.12-1/winsup/cygwin/fhandler.cc > uses NtCreateFile() instead of CreateFile() on Windows NT based > operating systems (NT, 2000, 2003, XP) for opening files. Why? I > checked the archives for this mailing list and noted some activity

Re: Why does cygwin1.dll use NtCreateFile() instead of CreateFile()

2005-01-30 Thread Dan Ch
On Sun, 30 Jan 2005, Reini Urban wrote: > Dan Ch schrieb: > > Thank you for providing some information. But I do not understand > > what types of objects require read permission in order to successfully > > open with SYNCHRONIZE access. On Windows XP Professional SP2, using > > CreateFile(...,GEN

Re: Why does cygwin1.dll use NtCreateFile() instead of CreateFile()

2005-01-30 Thread Reini Urban
Dan Ch schrieb: Thank you for providing some information. But I do not understand what types of objects require read permission in order to successfully open with SYNCHRONIZE access. On Windows XP Professional SP2, using CreateFile(...,GENERIC_WRITE | SYNCHRONIZE, ...) to open an ordinary file on

Re: Why does cygwin1.dll use NtCreateFile() instead of CreateFile()

2005-01-30 Thread Dan Ch
On Sun, 30 Jan 2005, Igor Pechtchanski wrote: > On Sun, 30 Jan 2005, Dan Ch wrote: > > I noticed that cygwin-1.5.12-1/winsup/cygwin/fhandler.cc > > uses NtCreateFile() instead of CreateFile() on Windows NT based > > operating systems (NT, 2000, 2003, XP) for opening files. Why? I > > checked the

Re: Why does cygwin1.dll use NtCreateFile() instead of CreateFile()

2005-01-30 Thread Igor Pechtchanski
On Sun, 30 Jan 2005, Dan Ch wrote: > I noticed that cygwin-1.5.12-1/winsup/cygwin/fhandler.cc > uses NtCreateFile() instead of CreateFile() on Windows NT based > operating systems (NT, 2000, 2003, XP) for opening files. Why? I > checked the archives for this mailing list and noted some activity

Why does cygwin1.dll use NtCreateFile() instead of CreateFile()

2005-01-30 Thread Dan Ch
I noticed that cygwin-1.5.12-1/winsup/cygwin/fhandler.cc uses NtCreateFile() instead of CreateFile() on Windows NT based operating systems (NT, 2000, 2003, XP) for opening files. Why? I checked the archives for this mailing list and noted some activity that discuses some side affects caused by us