commit c4e5354a32a311b0a0636ff7223d914ef7926c36
parent f23409f65a53f813c5d795d5bd87eac9d44769b7
Author: Jakob Kramer <jakob.kramer@gmx.de>
Date: Sat, 3 May 2014 18:28:20 +0200
sort: linebuf is no global
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sort.c b/sort.c
@@ -35,8 +35,6 @@ static bool rflag = false;
static bool uflag = false;
static bool nflag = false;
-static struct linebuf linebuf = EMPTY_LINEBUF;
-
static void
usage(void)
{
@@ -48,6 +46,7 @@ main(int argc, char *argv[])
{
long i;
FILE *fp;
+ struct linebuf linebuf = EMPTY_LINEBUF;
ARGBEGIN {
case 'n':