Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/sort also remove the clpos++ added in rev 1.4



details:   https://anonhg.NetBSD.org/src/rev/78ae64a34f27
branches:  trunk
changeset: 502203:78ae64a34f27
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sat Jan 13 19:04:21 2001 +0000

description:
also remove the clpos++ added in rev 1.4

diffstat:

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

diffs (27 lines):

diff -r cf8d89eb950b -r 78ae64a34f27 usr.bin/sort/fields.c
--- a/usr.bin/sort/fields.c     Sat Jan 13 19:01:14 2001 +0000
+++ b/usr.bin/sort/fields.c     Sat Jan 13 19:04:21 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fields.c,v 1.6 2001/01/13 19:01:14 jdolecek Exp $      */
+/*     $NetBSD: fields.c,v 1.7 2001/01/13 19:04:21 jdolecek Exp $      */
 
 /*-
  * Copyright (c) 1993
@@ -41,7 +41,7 @@
 #include "sort.h"
 
 #ifndef lint
-__RCSID("$NetBSD: fields.c,v 1.6 2001/01/13 19:01:14 jdolecek Exp $");
+__RCSID("$NetBSD: fields.c,v 1.7 2001/01/13 19:04:21 jdolecek Exp $");
 __SCCSID("@(#)fields.c 8.1 (Berkeley) 6/6/93");
 #endif /* not lint */
 
@@ -94,7 +94,7 @@
                                /* don't include rec_delimiter */
        keypos = keybuf->data;
 
-       for (i = 0; i < ncols; i++, clpos++) {
+       for (i = 0; i < ncols; i++) {
                clpos = clist + i;
                for (; (col < clpos->num) && (pos < lineend); col++)
                        { NEXTCOL(pos); }



Home | Main Index | Thread Index | Old Index