Patch to handle Win32 named pipes as file names
Fri May 7 08:12:00 GMT 2004
On May 6 13:45, Stephen Cleary wrote:
> It is a bit more complex than first appears. The problem is that some
> functions (e.g., SetFilePointer, GetFileInformationByHandle) have undefined
> behavior when used on pipes (or other special Win32 files). Further, there
> is no way to determine the type of HANDLE after the fact (GetFileType may
> work "well enough", but it may not be specific enough for future use).
Keep in mind that supporting Win32 devices untranslated is not our major
concern. We're fine with supporting them barely. As I said, as long
as open/read/write/close works, we're "done" (tm). Lseek and stat are
not exactly important.
> What do you think is the best way to go?
Actually I would rather see an fhandler which implements POSIX FIFOs.
It's not even important if it uses Win32 FIFOs or sockets or any other
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Co-Project Leader mailto:email@example.com
Red Hat, Inc.
More information about the Cygwin-patches