This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
winsup/cygwin ChangeLog cygheap.cc cygheap.h d ...
- To: cygwin-cvs at sources dot redhat dot com
- Subject: winsup/cygwin ChangeLog cygheap.cc cygheap.h d ...
- From: cgf at sourceware dot cygnus dot com
- Date: 3 Jun 2001 02:31:16 -0000
CVSROOT: /cvs/uberbaum
Module name: winsup
Changes by: cgf@sources.redhat.com 2001-06-02 19:31:16
Modified files:
cygwin : ChangeLog cygheap.cc cygheap.h dir.cc path.cc
shared_info.h syscalls.cc
Log message:
* cygheap.cc (cygheap_root::cygheap_rot): Remove constructor.
(cygheap_root::~cygheap_root): Remove destructor.
(cygheap_root::operator =): Remove.
(cygheap_root::set): New method.
* cygheap.h (cygheap_root): Reflect above changes. Store root info in
mount-like structure.
(cygheap_root:posix_ok): New method.
(cygheap_root::ischroot_native): Ditto.
(cygheap_root::unchroot): Ditto.
(cygheap_root::exists): Ditto.
(cygheap_root::posix_length): Ditto.
(cygheap_root::posix_path): Ditto.
(cygheap_root::native_length): Ditto.
(cygheap_root::native_path): Ditto.
* dir.cc (opendir): Remove special chroot test.
* path.cc (path_prefix_p): Remove front end.
(normalize_posix_path): Reorganize chroot tests to accomodate new convention of
allowing paths using posix chroot prefix.
(path_conv::check): Pass a "already ran normalize" option to
conv_to_win32_path. Return if there is an error from this function.
(mount_info::conv_to_win32_path): Add extra argument. Don't call
normalize_posix_path if caller has already done so. Substitute chroot setting,
if any, for root translation. Add chroot checking to final output step.
* shared_info (mount_info): Accomodate additional argument to
conv_to_win32_path.
* syscalls.cc (chroot): Store both normalized posix path and native path in
chroot.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.741&r2=1.742
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/cygheap.cc.diff?cvsroot=uberbaum&r1=1.23&r2=1.24
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/cygheap.h.diff?cvsroot=uberbaum&r1=1.13&r2=1.14
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dir.cc.diff?cvsroot=uberbaum&r1=1.31&r2=1.32
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/path.cc.diff?cvsroot=uberbaum&r1=1.144&r2=1.145
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/shared_info.h.diff?cvsroot=uberbaum&r1=1.9&r2=1.10
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/syscalls.cc.diff?cvsroot=uberbaum&r1=1.118&r2=1.119