diff options
author | Christopher Faylor <me@cgf.cx> | 2001-09-06 04:41:59 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-09-06 04:41:59 +0000 |
commit | 08b78edf5a6aceeb54ed848cc8479d4ca8bad4ca (patch) | |
tree | a894d2763c28d56bc24769252b17870c38ab7141 /winsup/cygwin/fhandler.cc | |
parent | 4ce15a498010f678c71cefdf2a2ac0db58f4fa93 (diff) | |
download | cygnal-08b78edf5a6aceeb54ed848cc8479d4ca8bad4ca.tar.gz cygnal-08b78edf5a6aceeb54ed848cc8479d4ca8bad4ca.tar.bz2 cygnal-08b78edf5a6aceeb54ed848cc8479d4ca8bad4ca.zip |
Remove initialization of static or global values to zero, throughout. This
just needlessly grows the size of the DLL.
* tty.cc (tty::alive): Make inuse handle non-inheriting on open, just for
thread safety.
Diffstat (limited to 'winsup/cygwin/fhandler.cc')
-rw-r--r-- | winsup/cygwin/fhandler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc index 115a4c796..6dd65bd59 100644 --- a/winsup/cygwin/fhandler.cc +++ b/winsup/cygwin/fhandler.cc @@ -30,9 +30,9 @@ static NO_COPY const int CHUNK_SIZE = 1024; /* Used for crlf conversions */ static char fhandler_disk_dummy_name[] = "some disk file"; -struct __cygwin_perfile *perfile_table = NULL; +struct __cygwin_perfile *perfile_table; -DWORD binmode = 0; +DWORD binmode; inline fhandler_base& fhandler_base::operator =(fhandler_base &x) |