diff options
author | Christopher Faylor <me@cgf.cx> | 2002-12-29 09:14:13 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-12-29 09:14:13 +0300 |
commit | da7f2e061d3c34b74ad7cf761ea940f33c2af84b (patch) | |
tree | 5ec66bfc83a296e9a097dcb8bb977e5d6aa09235 | |
parent | 51e3068ef34e2d7d29dd953eb9ee1de9b8b0a3de (diff) |
* cygwin-gperf: New file.
* Makefile.in: Use cygwin-gperf script to build devices.cc.
* configure.in: Remove some comments.
* configure: Regenerate.
* devices.gperf: Remove max unit determination from FH_TTY. Add /dev/kmem.
Add /dev/fifo. Add /dev/rawdrive. Remove specific "const device *"
declarations since they are now autogenerated.
(device::parse): Treat FH_TTY specially. Move logic for determining real tty
device to separate function.
(device::init): Reduce to nothing.
(device::parse): New function taking different arguments.
(device::parse): Ditto.
(device::tty_to_real_device): New function.
* devices.h (struct device): Define above new functions.
(device::dev_on_fs): New element.
(device::setfs): New function.
(device::isfs): Ditto.
* dtable.cc (dtable::build_fhandler): Treat FH_TTY specially.
* fhandler.cc (fhandler_base::set_name): Make special determination for
non-disk-resident devices.
* fhandler.h (fhandler_base::isdevice): Renamed from 'is_device'.
(fhandler_disk_file::isdevice): Ditto.
(fhandler_base::is_auto_device): New function.
(fhandler_base::is_fs_device): New function.
(fhandler_tty_slave::get_unit): Declare.
(fhandler_disk_file::readdir): Take special .lnk consideration for devices as
well as symlinks.
* fhandler_tty.cc: Use get_unit () rather than dev.minor throughout.
(fhandler_tty_slave::get_unit): Define new function.
* path.cc (symlink_info::major): New element.
(symlink_info::major): Ditto.
(symlink_info::devtype): Ditto.
(path_conv::check): Handle devices detected by symlink_info::check.
(win32_device_name): Eliminate special FH_TTY handling.
(symlink): Move bulk of procesing to symlink_worker.
(symlink_worker): New function. Handles devices.
(symlink_info::parse_device): Parse info from potential device file into
symlink_info elements.
(symlink_info::check): If contents of .lnk file begin with a ':' then treat the
file as a device file.
* path.h (isdevice): Renamed from is_device.
(is_auto_device): New function.
(is_fs_device): Ditto.
* syscalls.cc (chown_worker): Allow setting of ownership for on-disk devices.
(chmod): Ditto.
(mknod): Implement.
* winsup.h (symlink_worker): Declare.
-rw-r--r-- | winsup/cygwin/ChangeLog | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index ebe65c43c..dc82372ee 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,54 @@ +2002-12-29 Christopher Faylor <cgf@redhat.com> + + * cygwin-gperf: New file. + * Makefile.in: Use cygwin-gperf script to build devices.cc. + * configure.in: Remove some comments. + * configure: Regenerate. + * devices.gperf: Remove max unit determination from FH_TTY. Add + /dev/kmem. Add /dev/fifo. Add /dev/rawdrive. Remove specific "const + device *" declarations since they are now autogenerated. + (device::parse): Treat FH_TTY specially. Move logic for determining + real tty device to separate function. + (device::init): Reduce to nothing. + (device::parse): New function taking different arguments. + (device::parse): Ditto. + (device::tty_to_real_device): New function. + * devices.h (struct device): Define above new functions. + (device::dev_on_fs): New element. + (device::setfs): New function. + (device::isfs): Ditto. + * dtable.cc (dtable::build_fhandler): Treat FH_TTY specially. + * fhandler.cc (fhandler_base::set_name): Make special determination for + non-disk-resident devices. + * fhandler.h (fhandler_base::isdevice): Renamed from 'is_device'. + (fhandler_disk_file::isdevice): Ditto. + (fhandler_base::is_auto_device): New function. + (fhandler_base::is_fs_device): New function. + (fhandler_tty_slave::get_unit): Declare. + (fhandler_disk_file::readdir): Take special .lnk consideration for + devices as well as symlinks. + * fhandler_tty.cc: Use get_unit () rather than dev.minor throughout. + (fhandler_tty_slave::get_unit): Define new function. + * path.cc (symlink_info::major): New element. + (symlink_info::major): Ditto. + (symlink_info::devtype): Ditto. + (path_conv::check): Handle devices detected by symlink_info::check. + (win32_device_name): Eliminate special FH_TTY handling. + (symlink): Move bulk of procesing to symlink_worker. + (symlink_worker): New function. Handles devices. + (symlink_info::parse_device): Parse info from potential device file + into symlink_info elements. + (symlink_info::check): If contents of .lnk file begin with a ':' then + treat the file as a device file. + * path.h (isdevice): Renamed from is_device. + (is_auto_device): New function. + (is_fs_device): Ditto. + * syscalls.cc (chown_worker): Allow setting of ownership for on-disk + devices. + (chmod): Ditto. + (mknod): Implement. + * winsup.h (symlink_worker): Declare. + 2002-12-28 Christopher Faylor <cgf@redhat.com> Eliminate device number argument from fhandler constructors throughout. |