[hackers] [sbase] cmp: fix wrong rebase, missing line, sorry || Hiltjo Posthuma

From: <git_AT_suckless.org>
Date: Tue, 01 Apr 2014 17:21:03 +0200

commit 6b45824463ee1a26145b5bbae4973b214bbb3354
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Tue Apr 1 16:53:15 2014 +0200

    cmp: fix wrong rebase, missing line, sorry
    
    Signed-off-by: Hiltjo Posthuma <hiltjo_AT_codemadness.org>

diff --git a/cmp.c b/cmp.c
index d61b1f5..e3ba852 100644
--- a/cmp.c
+++ b/cmp.c
_AT_@ -64,6 +64,7 @@ main(int argc, char *argv[])
                                 exit(Diff);
                         }
                 }
+ if(!lflag) {
                         if(!sflag)
                                 printf("%s %s differ: char %ld, line %ld
",
                                        argv[0], !argv[1] ? "<stdin>" : argv[1], n, line);
Received on Tue Apr 01 2014 - 17:21:03 CEST

This archive was generated by hypermail 2.3.0 : Tue Apr 01 2014 - 17:24:37 CEST