whats a good magic number for fifo's?

Egor Duda deo@logos-m.ru
Tue Mar 27 04:58:00 GMT 2001


Hi!

Tuesday, 27 March, 2001 Robert Collins robert.collins@itdomain.com.au wrote:

RC> The title says it all.

RC> I'm extending the magic number checks in fhandler_base... this will have
RC> a performance impact (the assume exe flag and/or ntsec will no longer
RC> shortcut the file open and read tests). I'm open to suggestions for
RC> marking the file as a fifo without magic numbers.

how about using symlinks pointing to some special destination (for
example to '/cygdrive/fifo')? all we need to do in this case is to
slightly modify current symlink resolution code.

Egor.            mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19




More information about the Cygwin-developers mailing list