* 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.
This commit is contained in:
Christopher Faylor
2011-06-08 19:27:48 +00:00
parent 0791c40b20
commit 022e15dc60
3 changed files with 32 additions and 9 deletions

View File

@ -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