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
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 44390 Build 41278: arc lint + arc unit
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 | ||
---|---|---|
21 | Fortunately, this code is never run :) The pointer subtraction is immediate undefined behaviour. |