This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
winsup/cygwin ChangeLog Makefile.in devices.h ...
- From: cgf at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 5 Jan 2003 03:01:17 -0000
- Subject: winsup/cygwin ChangeLog Makefile.in devices.h ...
CVSROOT: /cvs/uberbaum
Module name: winsup
Branch: cgf-dev-branch
Changes by: cgf@sourceware.org 2003-01-04 19:01:17
Modified files:
cygwin : ChangeLog Makefile.in devices.h dtable.cc
dtable.h fhandler.cc fhandler.h
fhandler_disk_file.cc fhandler_tty.cc path.cc
path.h pinfo.cc pinfo.h pipe.cc smallprint.c
syscalls.cc
Log message:
Replace is_fs_device with is_fs_special throughout.
* Makefile.in (DLL_OFILES): Add fhandler_fifo.o.
* devices.h (fh_devices): Renumber some minor numbers to fit in 8 bits.
* dtable.cc (dtable::build_fhandler): Handle FH_FIFO. Set errno to ENODEV if
device not found.
* dtable::find_fifo: Define new function.
* dtable.h (dtable::find_fifo): Declare new function.
* fhandler.cc (fhandler_base::device_access_denied): Fix O_RDONLY test.
(fhandler_base::write): Use output file handle for writing.
(fhandler_base::fstat): Use is_fs_special rather than is_fs_device.
* fhandler.h (fhandler_base::is_fs_special): Rename from is_fs_device.
(fhandler_pipe): Make private elements protected so that fhandler_fifo can use
them too.
(fhandler_pipe::create): New function derived from make_pipe.
(fhandler_fifo): Add more needed elements.
(fhandler_pty_master::slave): Add to track slave device.
(fhandler_pty_master::get_unit): Define.
* fhandler_tty.cc (fhandler_tty_master::init): Register slave device.
(fhandler_pty_master::open): Ditto.
(symlink_info::parse_device): Handle fifo specially.
* pinfo.cc (_pinfo::commune_recv): Initial fifo implementation.
(_pinfo::commune_send): Ditto.
* pinfo.h (picom): Add PICOM_FIFO.
* pipe.cc (fhandler_pipe::close): Close input handle here specifically.
(fhandler_pipe::create): Rename from make_pipe. Create fhandlers rather than
fds.
(pipe): Use fhandler_pipe::create to create pipe.
(_pipe): Ditto.
* syscalls.cc (mknod): Accommodate fifos.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.1656.2.10&r2=1.1656.2.11
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.2&r2=1.112.4.3
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.3&r2=1.2.2.4
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.5&r2=1.107.12.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.h.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.19.12.2&r2=1.19.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.6&r2=1.143.4.7
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.6&r2=1.153.2.7
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.5&r2=1.35.12.6
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.5&r2=1.88.2.6
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.4&r2=1.234.16.5
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.2&r2=1.48.16.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/pinfo.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.74&r2=1.74.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/pinfo.h.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.46&r2=1.46.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/pipe.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.44.4.4&r2=1.44.4.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/smallprint.c.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.12&r2=1.12.20.1
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.4&r2=1.238.4.5