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>2001-09-06 08:41:59 +0400
committerChristopher Faylor <me@cgf.cx>2001-09-06 08:41:59 +0400
commit08b78edf5a6aceeb54ed848cc8479d4ca8bad4ca (patch)
treea894d2763c28d56bc24769252b17870c38ab7141 /winsup/cygwin/grp.cc
parent4ce15a498010f678c71cefdf2a2ac0db58f4fa93 (diff)
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/grp.cc')
-rw-r--r--winsup/cygwin/grp.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/grp.cc b/winsup/cygwin/grp.cc
index 600302c95..e73c9a058 100644
--- a/winsup/cygwin/grp.cc
+++ b/winsup/cygwin/grp.cc
@@ -31,9 +31,9 @@ details. */
on the first call that needs information from it. */
static NO_COPY const char *etc_group = "/etc/group";
-static struct group *group_buf = NULL; /* group contents in memory */
-static int curr_lines = 0;
-static int max_lines = 0;
+static struct group *group_buf; /* group contents in memory */
+static int curr_lines;
+static int max_lines;
/* Position in the group cache */
#ifdef _MT_SAFE