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 44334 Build 41222: 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 ↗ | (On Diff #102609) |
usr.bin/diff/tests/functionname_objcm.in | ||
---|---|---|
21 ↗ | (On Diff #102609) | Fortunately, this code is never run :) The pointer subtraction is immediate undefined behaviour. |