summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/shared_info.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2013-05-23 14:23:01 +0000
committerCorinna Vinschen <corinna@vinschen.de>2013-05-23 14:23:01 +0000
commit33cb946e7ee09ba7725b383e55bbdc1ca441e62f (patch)
tree96c0abe3462ff0093987639d75191948e6474938 /winsup/cygwin/shared_info.h
parent08fd0f6438765e1cfa1c31bc21072273bb90cc51 (diff)
downloadcygnal-33cb946e7ee09ba7725b383e55bbdc1ca441e62f.tar.gz
cygnal-33cb946e7ee09ba7725b383e55bbdc1ca441e62f.tar.bz2
cygnal-33cb946e7ee09ba7725b383e55bbdc1ca441e62f.zip
* environ.cc (set_winsymlinks): Handle "winsymlinks:nativestrict"
option. On pre-Vista warn the user if the "winsymlinks:native*" option is set. * globals.cc (enum winsym_t): Add WSYM_nativestrict. * path.cc (symlink_native): Don't create native symlink if target does not exist. Explain why. Improve comments. (symlink_worker): Change AFS symlink handling to WSYM_nativestrict. Handle WSYM_nativestrict throughout. Change condition for bail out to wsym_type == WSYM_nativestrict. Add comment. Fix formatting. * shared_info.h (CURR_USER_MAGIC): Change to reflect change in class user_info. (class user_info): Add member warned_nonativesyms.
Diffstat (limited to 'winsup/cygwin/shared_info.h')
-rw-r--r--winsup/cygwin/shared_info.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/shared_info.h b/winsup/cygwin/shared_info.h
index f3605e402..6733b3636 100644
--- a/winsup/cygwin/shared_info.h
+++ b/winsup/cygwin/shared_info.h
@@ -15,7 +15,7 @@ details. */
#include "limits.h"
#include "mount.h"
-#define CURR_USER_MAGIC 0x6467403bU
+#define CURR_USER_MAGIC 0xab1fcce8U
class user_info
{
@@ -25,6 +25,7 @@ public:
DWORD cb;
bool warned_msdos;
bool warned_notty;
+ bool warned_nonativesyms;
mount_info mountinfo;
friend void dll_crt0_1 (void *);
static void create (bool);