Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/join Make the -v flag print data instead of blank li...



details:   https://anonhg.NetBSD.org/src/rev/2cd50c252010
branches:  trunk
changeset: 522252:2cd50c252010
user:      jonb <jonb%NetBSD.org@localhost>
date:      Thu Feb 14 03:21:07 2002 +0000

description:
Make the -v flag print data instead of blank lines.  Thanks to
Duncan McEwan <duncan%mcs.vuw.ac.nz@localhost> for the hint in PR#15412.
I'll leave the rest of his patch for someone more familiar
with join to fix.

diffstat:

 usr.bin/join/join.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 17b915e049ed -r 2cd50c252010 usr.bin/join/join.c
--- a/usr.bin/join/join.c       Thu Feb 14 02:38:22 2002 +0000
+++ b/usr.bin/join/join.c       Thu Feb 14 03:21:07 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: join.c,v 1.19 2000/06/10 19:21:05 mycroft Exp $        */
+/*     $NetBSD: join.c,v 1.20 2002/02/14 03:21:07 jonb Exp $   */
 
 /*-
  * Copyright (c) 1991 The Regents of the University of California.
@@ -48,7 +48,7 @@
 #if 0
 static char sccsid[] = "from: @(#)join.c       5.1 (Berkeley) 11/18/91";
 #else
-__RCSID("$NetBSD: join.c,v 1.19 2000/06/10 19:21:05 mycroft Exp $");
+__RCSID("$NetBSD: join.c,v 1.20 2002/02/14 03:21:07 jonb Exp $");
 #endif
 #endif /* not lint */
 
@@ -88,7 +88,7 @@
        u_long setalloc;        /* set allocated count */
 } INPUT;
 INPUT input1 = { NULL, 0, 0, 1, NULL, -1, 0, 0, },
-      input2 = { NULL, 0, 0, 1, NULL, -1, 0, 0, };
+      input2 = { NULL, 0, 0, 2, NULL, -1, 0, 0, };
 
 typedef struct {
        u_long  fileno;         /* file number */



Home | Main Index | Thread Index | Old Index