diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2001-03-02 11:41:09 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2001-03-02 11:41:09 +0000 |
commit | e03f5f73381e352469a116d84480427227c04027 (patch) | |
tree | 02bffe58a078fc35290478879889dfeb06944569 /winsup/cygwin/environ.cc | |
parent | d08d72adff5eb5e2c810494043c7104cd9b3aa6c (diff) | |
download | cygnal-e03f5f73381e352469a116d84480427227c04027.tar.gz cygnal-e03f5f73381e352469a116d84480427227c04027.tar.bz2 cygnal-e03f5f73381e352469a116d84480427227c04027.zip |
* dir.cc (readdir): Fix shortcut==symlink condition.
* environ.cc: Add extern decl for `allow_winsymlinks'.
(struct parse_thing): Add entry for `[no]winsymlinks'.
* path.cc (symlink): Change to be able to create both,
symlink==shortcut and symlink==systemfile, dependent of
the setting of `allow_winsymlinks'.
* security.cc (cygwin_logon_user): Add debug output.
* shortcut.c: Add defines from path.h.
(has_exec_chars): Copy from path.h.
(check_shortcut): Check for executable file condition if not a
shortcut.
Diffstat (limited to 'winsup/cygwin/environ.cc')
-rw-r--r-- | winsup/cygwin/environ.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/environ.cc b/winsup/cygwin/environ.cc index 1e160b50e..df4c60fc8 100644 --- a/winsup/cygwin/environ.cc +++ b/winsup/cygwin/environ.cc @@ -30,6 +30,7 @@ extern BOOL allow_glob; extern BOOL ignore_case_with_glob; extern BOOL allow_ntea; extern BOOL allow_smbntsec; +extern BOOL allow_winsymlinks; extern BOOL strip_title_path; extern DWORD chunksize; BOOL reset_com = TRUE; @@ -454,6 +455,7 @@ struct parse_thing {"strip_title", {&strip_title_path}, justset, NULL, {{FALSE}, {TRUE}}}, {"title", {&display_title}, justset, NULL, {{FALSE}, {TRUE}}}, {"tty", {NULL}, set_process_state, NULL, {{0}, {PID_USETTY}}}, + {"winsymlinks", {&allow_winsymlinks}, justset, NULL, {{FALSE}, {TRUE}}}, {NULL, {0}, justset, 0, {{0}, {0}}} }; |