summaryrefslogtreecommitdiff
path: root/usr.bin/sort/sort.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2004-03-17 18:24:50 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2004-03-17 18:24:50 +0000
commitd63a34c05a52f0d099257cba474f0ea087eb98ae (patch)
tree19e3bd7057708a2bba6fec89679e4f7df0c73448 /usr.bin/sort/sort.c
parent16c62b9c50eb76c44512c14b3d1b9f19e833ffd2 (diff)
do not init SINGL_FLD, SEP_FLAG twice; from robert nagy
Diffstat (limited to 'usr.bin/sort/sort.c')
-rw-r--r--usr.bin/sort/sort.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/sort/sort.c b/usr.bin/sort/sort.c
index 9a88c070942..0ce11eb58c5 100644
--- a/usr.bin/sort/sort.c
+++ b/usr.bin/sort/sort.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sort.c,v 1.22 2003/06/26 00:12:39 deraadt Exp $ */
+/* $OpenBSD: sort.c,v 1.23 2004/03/17 18:24:49 mickey Exp $ */
/*-
* Copyright (c) 1993
@@ -42,7 +42,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)sort.c 8.1 (Berkeley) 6/6/93";
#else
-static char rcsid[] = "$OpenBSD: sort.c,v 1.22 2003/06/26 00:12:39 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: sort.c,v 1.23 2004/03/17 18:24:49 mickey Exp $";
#endif
#endif /* not lint */
@@ -121,7 +121,6 @@ main(int argc, char *argv[])
errx(2, "cannot allocate memory");
memset(d_mask, 0, NBINS);
d_mask[REC_D = '\n'] = REC_D_F;
- SINGL_FLD = SEP_FLAG = 0;
d_mask['\t'] = d_mask[' '] = BLANK | FLD_D;
fixit(&argc, argv);
if (!issetugid() && (outfile = getenv("TMPDIR")))