This is the mail archive of the cygwin-developers@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]

Re: whats a good magic number for fifo's?


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



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