CVSROOT:        /cvs/uberbaum
Module name:    winsup
Branch:         cgf-dev-branch
Changes by:     [EMAIL PROTECTED]      2002-12-28 22:14:14

Modified files:
        cygwin         : ChangeLog Makefile.in configure configure.in 
                         devices.gperf devices.h dtable.cc fhandler.cc 
                         fhandler.h fhandler_disk_file.cc 
                         fhandler_tty.cc path.cc path.h syscalls.cc 
                         winsup.h 
Added files:
        cygwin         : cygwin-gperf 

Log message:
        * 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.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/cygwin-gperf.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=NONE&r2=1.1.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.1656.2.4&r2=1.1656.2.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/Makefile.in.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.112.4.1&r2=1.112.4.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/configure.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.12&r2=1.12.30.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/configure.in.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.13&r2=1.13.30.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/devices.gperf.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.2.2.1&r2=1.2.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/devices.h.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.2.2.1&r2=1.2.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.107.12.2&r2=1.107.12.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.143.4.3&r2=1.143.4.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.h.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.153.2.3&r2=1.153.2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_disk_file.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.35.12.2&r2=1.35.12.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_tty.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.88.2.3&r2=1.88.2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/path.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.234.16.2&r2=1.234.16.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/path.h.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.48.16.1&r2=1.48.16.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/syscalls.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.238.4.2&r2=1.238.4.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/winsup.h.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.106&r2=1.106.8.1

Reply via email to