]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
diff: Use start of change when searching for function
authorTom Jones <thj@FreeBSD.org>
Tue, 1 Mar 2022 13:23:25 +0000 (13:23 +0000)
committerTom Jones <thj@FreeBSD.org>
Tue, 1 Mar 2022 13:27:21 +0000 (13:27 +0000)
commit4be7d087c2b566f4910683836be279d55c1a81c6
tree0c77daf7c8f1861404388cc274a4116537562dd0
parent3cf2f812f586da2a5e8be1e57e769741e22ac088
diff: Use start of change when searching for function

Use the start of change when searching for a function rather than the
start of the context. In short functions if this could result in search
for the function name starting from before the function definition.

PR: 262086
Reviewed by: bapt, mckusick, mhorne
Sponsored by: Klara Inc.
Differential Revision: https://reviews.freebsd.org/D34328
usr.bin/diff/diffreg.c