Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2011-06-08 23:27:48 +0400
committerChristopher Faylor <me@cgf.cx>2011-06-08 23:27:48 +0400
commit022e15dc602143f0c2488e40ecaed2aeaadf6a8b (patch)
treecccbb6a515a0e489a43e1a5d549cfeb45a14f0c7 /winsup/cygwin/shared_info.h
parent0791c40b209d5622b300320e11f2bf2af8b2b775 (diff)
* environ.cc (settings::set_process_state): Delete.
(tty_is_gone): New function. (known): Change "tty" to call tty_is_gone(). Remove unneeded '&' from beginning of function address. (parse_options): Remove set_process_state handling. * shared_info.h (CURR_USER_MAGIC): Reset. (user_info::warned_notty): New member.
Diffstat (limited to 'winsup/cygwin/shared_info.h')
-rw-r--r--winsup/cygwin/shared_info.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/winsup/cygwin/shared_info.h b/winsup/cygwin/shared_info.h
index b18625d1a..be1ebca51 100644
--- a/winsup/cygwin/shared_info.h
+++ b/winsup/cygwin/shared_info.h
@@ -15,6 +15,8 @@ details. */
#include "limits.h"
#include "mount.h"
+#define CURR_USER_MAGIC 0x6467403bU
+
class user_info
{
void initialize ();
@@ -22,10 +24,12 @@ public:
LONG version;
DWORD cb;
bool warned_msdos;
+ bool warned_notty;
mount_info mountinfo;
friend void dll_crt0_1 (void *);
static void create (bool);
};
+
/******** Shared Info ********/
/* Data accessible to all tasks */
@@ -33,7 +37,6 @@ public:
#define CURR_SHARED_MAGIC 0x34e5bfa7U
#define USER_VERSION 1
-#define CURR_USER_MAGIC 0x6112afb3U
/* NOTE: Do not make gratuitous changes to the names or organization of the
below class. The layout is checksummed to determine compatibility between