When searching back for function definitions, consider lines starting
with '+' and '-', this allows us to pick up objective methods as well as
c style function definitions.
Details
Details
- Reviewers
bapt - Group Reviewers
Klara manpages - Commits
- rG8f79bd9b8571: diff: Detect Objective-C methods
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Other than that wording tweak, spelling and grammar in manual page change LGTM.
usr.bin/diff/diff.1 | ||
---|---|---|
400 |
usr.bin/diff/tests/functionname_objcm.in | ||
---|---|---|
22 | Fortunately, this code is never run :) The pointer subtraction is immediate undefined behaviour. |