mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-22 16:49:45 +08:00
* path.cc (enum symlink_t): Rename from shortcut_t.
This commit is contained in:
parent
3d0192def9
commit
c8cd2f2255
@ -1,3 +1,7 @@
|
|||||||
|
2008-04-02 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* path.cc (enum symlink_t): Rename from shortcut_t.
|
||||||
|
|
||||||
2008-04-02 Corinna Vinschen <corinna@vinschen.de>
|
2008-04-02 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* path.cc (symlink_info::check_reparse_point): Use NtFsControlFile
|
* path.cc (symlink_info::check_reparse_point): Use NtFsControlFile
|
||||||
|
@ -3778,7 +3778,7 @@ symlink_info::parse_device (const char *contents)
|
|||||||
Return -1 on error, 0 if PATH is not a symlink, or the length
|
Return -1 on error, 0 if PATH is not a symlink, or the length
|
||||||
stored into BUF if PATH is a symlink. */
|
stored into BUF if PATH is a symlink. */
|
||||||
|
|
||||||
enum shortcut_t {
|
enum symlink_t {
|
||||||
is_no_symlink,
|
is_no_symlink,
|
||||||
is_shortcut_symlink,
|
is_shortcut_symlink,
|
||||||
is_reparse_symlink,
|
is_reparse_symlink,
|
||||||
@ -3907,7 +3907,7 @@ symlink_info::check (char *path, const suffix_info *suffixes, unsigned opt)
|
|||||||
|| (opt & PC_SYM_IGNORE))
|
|| (opt & PC_SYM_IGNORE))
|
||||||
goto file_not_symlink;
|
goto file_not_symlink;
|
||||||
|
|
||||||
shortcut_t sym_check;
|
symlink_t sym_check;
|
||||||
|
|
||||||
sym_check = is_no_symlink;
|
sym_check = is_no_symlink;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user