OSDN Git Service

* fhandler.cc (fhandler_disk_file::fstat): Don't rely on exactly 3 characters
authorcgf <cgf>
Tue, 26 Jun 2001 21:03:08 +0000 (21:03 +0000)
committercgf <cgf>
Tue, 26 Jun 2001 21:03:08 +0000 (21:03 +0000)
commit9e625b99e63a96ea5e0641e8fe9f4dc3559a07e2
tree6c3fa7373a827e87d8ccc1b53d731d9f390098c5
parent041f6d31f543b3cb7f69a221fda4aacf206e373d
* fhandler.cc (fhandler_disk_file::fstat): Don't rely on exactly 3 characters
being read for executable test since we could be checking for less than that.
* syscalls.cc (stat_worker): Try opening the file the "correct" way first so
that #! processing can potentially happen.  If that fails, then use "query
open" method.
* spawn.cc (spawn_guts): Delay processing of signal until after we've notified
parent about reparenting.
winsup/cygwin/ChangeLog
winsup/cygwin/fhandler.cc
winsup/cygwin/spawn.cc
winsup/cygwin/syscalls.cc