src/winsup/cygwin ChangeLog fhandler.h fhandle ...
corinna@cygwin.com
corinna@cygwin.com
Thu Jan 22 13:46:00 GMT 2015
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sourceware.org 2015-01-22 13:46:12
Modified files:
winsup/cygwin : ChangeLog fhandler.h fhandler_process.cc
path.cc
winsup/cygwin/release: 1.7.34
Log message:
* fhandler.h (class fhandler_process): Add fd_type member.
* fhandler_process.cc (process_tab): Fix indentation.
(fhandler_process::exists): Rely on format_process_fd returning file
type in fd_type.
(struct process_fd_t): Add fd_type member.
(fhandler_process::fill_filebuf): Allow format_process_fd to set
this->fd_type member.
(format_process_fd): Fix path evaluation to allow recognizing trailing
path components. Fix check for file descriptor path component. Return
virt_symlink in fd_type if no trailing path compenents exist, return
virt_fsdir otherwise and copy full resulting path into destbuf.
* path.cc (path_conv::check): If /proc/$PID/fd symlink has trailing
path components, reparse resulting path as if it's the incoming path.
Add comment to wail over the outdated and hackish check method, and to
explain what we do here.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.6614&r2=1.6615
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.h.diff?cvsroot=src&r1=1.510&r2=1.511
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_process.cc.diff?cvsroot=src&r1=1.128&r2=1.129
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.cc.diff?cvsroot=src&r1=1.696&r2=1.697
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/release/1.7.34.diff?cvsroot=src&r1=1.8&r2=1.9
More information about the Cygwin-cvs
mailing list