[PATCH 1/8] sort: linebuf is no global

From: Jakob Kramer <jakob.kramer_AT_gmx.de>
Date: Sat, 3 May 2014 18:28:20 +0200

---
 sort.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sort.c b/sort.c
index 6c3b6f9..4b98cd9 100644
--- a/sort.c
+++ b/sort.c
_AT_@ -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)
 {
_AT_@ -48,6 +46,7 @@ main(int argc, char *argv[])
 {
 	long i;
 	FILE *fp;
+	struct linebuf linebuf = EMPTY_LINEBUF;
 
 	ARGBEGIN {
 	case 'n':
-- 
1.8.5.1
--/04w6evG8XlLl3ft
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="0002-sort-don-t-repeat-skipping-columns-logic.patch"
Received on Mon Sep 17 2001 - 00:00:00 CEST

This archive was generated by hypermail 2.3.0 : Sat May 03 2014 - 21:48:03 CEST