From c8cd2f2255167288a31293e21576b8d8ae1347ba Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 2 Apr 2008 11:45:14 +0000 Subject: [PATCH] * path.cc (enum symlink_t): Rename from shortcut_t. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/path.cc | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 837178f89..5682b9632 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2008-04-02 Corinna Vinschen + + * path.cc (enum symlink_t): Rename from shortcut_t. + 2008-04-02 Corinna Vinschen * path.cc (symlink_info::check_reparse_point): Use NtFsControlFile diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index b9191e252..83ce8017e 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -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 stored into BUF if PATH is a symlink. */ -enum shortcut_t { +enum symlink_t { is_no_symlink, is_shortcut_symlink, is_reparse_symlink, @@ -3907,7 +3907,7 @@ symlink_info::check (char *path, const suffix_info *suffixes, unsigned opt) || (opt & PC_SYM_IGNORE)) goto file_not_symlink; - shortcut_t sym_check; + symlink_t sym_check; sym_check = is_no_symlink;