diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2007-10-10 16:54:09 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2007-10-10 16:54:09 +0000 |
commit | 044b62c7676d56bcabea5956cae38771eb5b2179 (patch) | |
tree | f81c4546538d0c5c7d728f476098c339829a70b5 /include/gdb/callback.h | |
parent | 4797f5bca35d9598ae6ac4a021ef37ba3f1a75e0 (diff) | |
download | cygnal-044b62c7676d56bcabea5956cae38771eb5b2179.tar.gz cygnal-044b62c7676d56bcabea5956cae38771eb5b2179.tar.bz2 cygnal-044b62c7676d56bcabea5956cae38771eb5b2179.zip |
* path.cc (struct symlink_info): Change size of contents member to
be able to keep SYMLINK_MAX sized strings.
(symlink_worker): Rework for long path names. When writing windows
shortcuts, store pathname additionally "hidden" after the actual
shortcut data to workaround size limitations of the description field.
(symlink_info::check_shortcut): Drop file name parameter. Drop max
file size check. Use NT functions. Use appended full path if
available, description otherwise. Check symlink string length for
not exceeding SYMLINK_MAX. Don't close file here.
(symlink_info::check_sysfile): Drop file name parameter. Use NT
functions. Check symlink string length for not exceeding SYMLINK_MAX.
Don't close file here.
(symlink_info::check_reparse_point): Drop file name parameter. Drop
useless length checks. Allow SYMLINK_MAX length symlink strings.
Don't close file here.
(symlink_info::posixify): Allow SYMLINK_MAX length symlink strings.
(symlink_info::check): Turn around checking for symlink file attributes.
Use NT functions. Close symlink file here.
* include/limits.h (PATH_MAX): Define as 32760. Change comment.
(SYMLINK_MAX): Define as PATH_MAX - 1.
Diffstat (limited to 'include/gdb/callback.h')
0 files changed, 0 insertions, 0 deletions