Page MenuHomeFreeBSD

D34328.id103024.diff
No OneTemporary

D34328.id103024.diff

Index: usr.bin/diff/diffreg.c
===================================================================
--- usr.bin/diff/diffreg.c
+++ usr.bin/diff/diffreg.c
@@ -1462,7 +1462,7 @@
printf("***************");
if (flags & (D_PROTOTYPE | D_MATCHLAST)) {
- f = match_function(ixold, lowa - 1, f1);
+ f = match_function(ixold, cvp->a - 1 , f1);
if (f != NULL)
printf(" %s", f);
}
@@ -1563,13 +1563,14 @@
lowc = MAX(1, cvp->c - diff_context);
upd = MIN(len[1], context_vec_ptr->d + diff_context);
+
printf("@@ -");
uni_range(lowa, upb);
printf(" +");
uni_range(lowc, upd);
printf(" @@");
if (flags & (D_PROTOTYPE | D_MATCHLAST)) {
- f = match_function(ixold, lowa - 1, f1);
+ f = match_function(ixold, cvp->a - 1, f1);
if (f != NULL)
printf(" %s", f);
}

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 21, 8:32 AM (21 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14757719
Default Alt Text
D34328.id103024.diff (787 B)

Event Timeline