diff options
author | Christopher Faylor <me@cgf.cx> | 2004-04-10 00:50:16 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-04-10 00:50:16 +0000 |
commit | 60210cc795bcea2e34ed668cc5bccff35ba43246 (patch) | |
tree | 136cf3a49e9bb0f849aebe98a5a132a17ea7df8d /winsup/cygwin/ChangeLog | |
parent | ff0843433a4597a55a31bad84f82886ce9943612 (diff) | |
download | cygnal-60210cc795bcea2e34ed668cc5bccff35ba43246.tar.gz cygnal-60210cc795bcea2e34ed668cc5bccff35ba43246.tar.bz2 cygnal-60210cc795bcea2e34ed668cc5bccff35ba43246.zip |
* path.cc (path_conv::check): Optimize symlink replacements.
* path.cc (normalize_posix_path): Add "tail" argument and set it. Always have
a final slash for directories. Pass 3rd argument to normalize_win32_path.
(path_conv::check): Pass tail to normalize_posix_path. Set need_directory and
remove final slash after that call. Remove last argument to
mount_table->conv_to_win32_path(). Remove noop dostail check. Remove
fs.update() from inner loop. Improve tail finding search.
(normalize_win32_path): Add and set tail argument.
(mount_item::build_win32): Avoid calling strcpy.
(mount_info::conv_to_win32_path): Remove third argument and simplify because
the source is normalized. Keep /proc path in Posix form. Call
win32_device_name() only once.
(mount_info::conv_to_posix_path): Add and use 3rd argument to
normalize_win32_path to avoid calling strlen.
(cwdstuff::set): Add 3rd argument to normalize_posix_path and remove final
slash if any.
* shared_info.h (mount_info::conv_to_win32_path): Remove last argument in
declaration.
Diffstat (limited to 'winsup/cygwin/ChangeLog')
-rw-r--r-- | winsup/cygwin/ChangeLog | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index aa2fdbdad..f457a5668 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,29 @@ +2004-04-05 Pierre Humblet <pierre.humblet@ieee.org> + + * path.cc (path_conv::check): Optimize symlink replacements. + +2004-04-09 Pierre Humblet <pierre.humblet@ieee.org> + + * path.cc (normalize_posix_path): Add "tail" argument and set it. + Always have a final slash for directories. Pass 3rd argument to + normalize_win32_path. + (path_conv::check): Pass tail to normalize_posix_path. Set + need_directory and remove final slash after that call. Remove last + argument to mount_table->conv_to_win32_path(). Remove noop dostail + check. Remove fs.update() from inner loop. Improve tail finding + search. + (normalize_win32_path): Add and set tail argument. + (mount_item::build_win32): Avoid calling strcpy. + (mount_info::conv_to_win32_path): Remove third argument and simplify + because the source is normalized. Keep /proc path in Posix form. Call + win32_device_name() only once. + (mount_info::conv_to_posix_path): Add and use 3rd argument to + normalize_win32_path to avoid calling strlen. + (cwdstuff::set): Add 3rd argument to normalize_posix_path and remove + final slash if any. + * shared_info.h (mount_info::conv_to_win32_path): Remove last argument + in declaration. + 2004-04-09 Corinna Vinschen <corinna@vinschen.de> * fhandler.h (class fhandler_dev_raw): Move status bits into protected |