This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
winsup/cygwin ChangeLog devices.h fhandler.cc ...
- From: cgf at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 2 Jan 2003 06:16:18 -0000
- Subject: winsup/cygwin ChangeLog devices.h fhandler.cc ...
CVSROOT: /cvs/uberbaum
Module name: winsup
Branch: cgf-dev-branch
Changes by: cgf@sourceware.org 2003-01-01 22:16:18
Modified files:
cygwin : ChangeLog devices.h fhandler.cc fhandler.h
fhandler_disk_file.cc path.cc syscalls.cc
Log message:
* devices.h (_devtype_t): Eliminate.
(_mode_t): New typedef.
(device::mode): Replace type.
* fhandler.h (fhandler_base::device_access_denied): Declare new function.
* fhandler.cc (fhandler_base::device_access_denied): Define new function.
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Just copy mode directly
from dev.mode to st_mode if it is a disk device.
* path.cc (path_conv::check): Set device mode from sym mode.
(symlink_worker): Let "exists" check happen when file is attempted to be
opened, or not, in the case of creating a device.
(symlink_info::parse_device): Change device type argument to device mode
argument.
(mknod_worker): New function.
(chmod_device): Ditto.
(chmod): Use chmod_device to set protection if it is an fs device.
(mknod): Use mknod_worker to actually create the device. Don't take any
special action with the protection since it is now implicit.
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.7&r2=1.1656.2.8
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.2&r2=1.2.2.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.5&r2=1.143.4.6
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.5&r2=1.153.2.6
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.4&r2=1.35.12.5
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.3&r2=1.234.16.4
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.3&r2=1.238.4.4