[hackers] [sbase] Small global-var change to chgrp(1) || FRIGN

From: <git_AT_suckless.org>
Date: Mon, 9 Mar 2015 00:44:05 +0100 (CET)

commit dd14ad0d2701dd5358038c4dab23340a01a401d9
Author: FRIGN <dev_AT_frign.de>
Date: Mon Mar 9 00:41:53 2015 +0100

    Small global-var change to chgrp(1)

diff --git a/chgrp.c b/chgrp.c
index 11c0115..17a23f9 100644
--- a/chgrp.c
+++ b/chgrp.c
_AT_@ -7,11 +7,11 @@
 
 #include "util.h"
 
-static int gid;
-static int ret = 0;
-static int hflag = 0;
-static int Rflag = 0;
 static struct stat st;
+static int hflag = 0;
+static int Rflag = 0;
+static gid_t gid = -1;
+static int ret = 0;
 
 static void
 chgrp(const char *path, int depth)
Received on Mon Mar 09 2015 - 00:44:05 CET

This archive was generated by hypermail 2.3.0 : Mon Mar 09 2015 - 00:48:18 CET