Download raw body.
diff -p redux
Stefan Sperling <stsp@stsp.name> writes: > With your patch applied, diff -p shows context lines in hunk headers, > for both cases discussed in the thread linked above (btrace.c and Makefile). Yes, that's the whole point. > This is the reason the original change made by Tom was backed out. It was backed out because it sometimes picked up lines from _after_ the change: --- btrace.c +++ btrace.c @@ -117,6 +117,7 @@ uint64_t bt_filtered; /* # of events filtered out */ struct dtioc_arg_info **dt_args; /* array of probe arguments */ struct dt_evt bt_devt; /* fake event for BEGIN/END */ +#define FOO 0 uint64_t bt_filtered; /* # of events filtered out */ struct syms *kelf, *uelf; My patch doesn't do that. DES -- Dag-Erling Smørgrav - des@FreeBSD.org
diff -p redux