commit c4e5354a32a311b0a0636ff7223d914ef7926c36 Author: Jakob Kramer <jakob.kra...@gmx.de> Date: Sat May 3 18:28:20 2014 +0200
sort: linebuf is no global diff --git a/sort.c b/sort.c index 6c3b6f9..4b98cd9 100644 --- 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':