* Makefile.in: Remove cygserver stuff.
* acconfig.h: Add USE_CYGSERVER define. * config.h.in: Regenerate. * configure.in: Add --enable-server setting. * configure: Regenerate. * fhandler_tty.cc (fhandler_tty_slave::open): Conditionalize compilation of cygserver stuff. * fork.cc (fork_child): Ditto. * shm.cc: Ditto. * tty.cc (tty::common_init): Ditto. * dcrt0.cc: Use bool rather than BOOL for CYGWIN environment variable definitions. * environ.cc: Ditto. * ntea.cc: Ditto. * security.cc: Ditto. * security.h: Ditto. * syscalls.cc (check_posix_perm): Remove externs that were already declared in a header. * winsup.h: Ditto. Declare _MT_SAFE here. Delete it someday since cygwin should always be _MT_SAFE.
This commit is contained in:
@@ -98,6 +98,8 @@ extern int dynamically_loaded;
|
||||
|
||||
extern int cygserver_running;
|
||||
|
||||
#define _MT_SAFE // DELTEME someday
|
||||
|
||||
#define TITLESIZE 1024
|
||||
|
||||
/* status bit manipulation */
|
||||
@@ -197,7 +199,6 @@ extern int cygwin_finished_initializing;
|
||||
void __stdcall set_std_handle (int);
|
||||
int __stdcall writable_directory (const char *file);
|
||||
int __stdcall stat_dev (DWORD, int, unsigned long, struct __stat64 *);
|
||||
extern BOOL allow_ntsec;
|
||||
|
||||
__ino64_t __stdcall hash_path_name (__ino64_t hash, const char *name) __attribute__ ((regparm(2)));
|
||||
void __stdcall nofinalslash (const char *src, char *dst) __attribute__ ((regparm(2)));
|
||||
@@ -292,7 +293,7 @@ extern SYSTEM_INFO system_info;
|
||||
|
||||
/* The title on program start. */
|
||||
extern char *old_title;
|
||||
extern BOOL display_title;
|
||||
extern bool display_title;
|
||||
|
||||
extern HANDLE hMainThread;
|
||||
extern HANDLE hMainProc;
|
||||
|
Reference in New Issue
Block a user