This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: More changes about open on Win95 directories.


Christopher Faylor wrote:
> 
> It really depends on the context.

Some (e.g. fhandler_console) try to cover all bases but 
I don't think it's right, or at least necessary

  HANDLE h = CreateFileA ("CONIN$", GENERIC_READ, FILE_SHARE_WRITE,
  <snip>
  if (h == INVALID_HANDLE_VALUE || h == NULL)

Pierre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]