opnsense-src/usr.bin/diff
Tom Jones 8f79bd9b85 diff: Detect Objective-C methods
When searching back for function definitions, consider lines starting
with '+' and '-', this allows us to pick up Objective-C methods as well
as C style function definitions.

Reviewed by:	bapt
Sponsored by:	Klara Inc.
Differential Revision:	https://reviews.freebsd.org/D34202
2022-02-18 15:09:57 +00:00
..
tests diff: Detect Objective-C methods 2022-02-18 15:09:57 +00:00
diff.1 diff: Detect Objective-C methods 2022-02-18 15:09:57 +00:00
diff.c diff: implement option -F (--show-function-line) 2021-09-16 01:46:44 +02:00
diff.h diff: implement option -F (--show-function-line) 2021-09-16 01:46:44 +02:00
diffdir.c diff: move functions around and reduce their visibility 2021-09-16 01:36:41 +02:00
diffreg.c diff: Detect Objective-C methods 2022-02-18 15:09:57 +00:00
Makefile diff: link with libm for sqrt() 2021-09-16 09:31:44 +02:00
pr.c Fix memory leak 2018-06-12 16:42:11 +00:00
pr.h Isolate the pr(1) related code in its own source files 2018-06-09 20:24:17 +00:00
TODO Update diff(1) TODO removing what has been implemented 2020-02-07 10:18:01 +00:00
xmalloc.c asprintf returns -1, not an arbitrary value < 0. Also upon error the 2020-01-14 08:18:04 +00:00
xmalloc.h