summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fork.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-10-05 04:21:41 +0000
committerChristopher Faylor <me@cgf.cx>2001-10-05 04:21:41 +0000
commit8d817b0f9ed20cfa5e9482074999c2973a2a9543 (patch)
treed5e8428cca934ae3cbca7ef4ea839c08cb5280f1 /winsup/cygwin/fork.cc
parent291ae2c1e74db2d13d300ddb3fa303a2b39ca41d (diff)
downloadcygnal-8d817b0f9ed20cfa5e9482074999c2973a2a9543.tar.gz
cygnal-8d817b0f9ed20cfa5e9482074999c2973a2a9543.tar.bz2
cygnal-8d817b0f9ed20cfa5e9482074999c2973a2a9543.zip
Add second path_conv * argument to fstat()s throughout.
* fhandler.h: Change read and fstat to regparm/stdcall throughout. (fhandler_base::fstat): Just declare. Don't define. (fhandler_disk_file::fstat_helper): Declare. * fhandler.cc (fhandler_base::fstat): Move here from fhandler.h, adapt from former stat_dev(). (fhandler_disk_file::fstat): Move most of the disk-file-specific logic from stat_worker to here. Use fstat_helper to derive final fstat output. (fhandler_disk_file::fstat_helper): New method, renamed from former fstat method. (num_entries): Moved here from syscalls.cc. * fhandler_mem.cc (fhandler_dev_mem::fstat): Use base class to initialize most stuff. Invert has_physical_mem_access test for establishing permissions. * fhandler_raw.cc (fhandler_dev_raw::fstat): Eliminate unneed test and memory clearing. Use base class to initialize most stuff. * syscalls.cc (stat_dev): Eliminate. (stat_worker): Simply call fstat method to generate fstat output. Move all device specific code to appropriate fstats. * dir.cc (opendir): Pass correct arg to stat_worker to allow following symlinks.
Diffstat (limited to 'winsup/cygwin/fork.cc')
0 files changed, 0 insertions, 0 deletions