OSDN Git Service

* cygwin.din: Export _getmode and getmode to allow querying of binary state of
authorcgf <cgf>
Sun, 9 Jul 2000 05:29:51 +0000 (05:29 +0000)
committercgf <cgf>
Sun, 9 Jul 2000 05:29:51 +0000 (05:29 +0000)
commit6b901903130a991ac5eeda77aac18157f4520686
tree7430f049990990384947628a55f33f514f8e7bd9
parenta5525eff622387b91b5d70126ba357c4f2af094e
* cygwin.din: Export _getmode and getmode to allow querying of binary state of
an fd.
* external.cc (cygwin_internal): Add handling of perfile_table setting.
* fhandler.cc (perfile_table): New global.
(fhandler_base::get_default_fmode): New method to return a file's default mode
based on its name.
(fhandler_base::open): Use get_default_mode method to determine a file's mode.
Record file mode in file flags.
* fhandler.h (fhandler_base): Declare get_default_fmode
* syscalls.cc (getmode): New function.
* sys/cygwin.h (__cygwin_perfile): New structure.
(cygwin_getinfo_types): Move outside of WINVER conditional.
(per_process): Move inside of WINVER conditional.
winsup/cygwin/ChangeLog
winsup/cygwin/cygwin.din
winsup/cygwin/external.cc
winsup/cygwin/fhandler.cc
winsup/cygwin/fhandler.h
winsup/cygwin/include/cygwin/version.h
winsup/cygwin/include/sys/cygwin.h
winsup/cygwin/syscalls.cc