sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit 4414a17e1b79ced4e7fee8d8c6f6e549a30b16aa
parent 3a04302c6608c9a10a7ab1b905590c1b1a873be0
Author: FRIGN <dev@frign.de>
Date:   Mon,  9 Mar 2015 00:41:53 +0100

Small global-var change to chgrp(1)

Diffstat:
Mchgrp.c | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/chgrp.c b/chgrp.c @@ -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)