diff options
| author | Colin Percival <cperciva@FreeBSD.org> | 2026-08-29 20:22:15 +0000 |
|---|---|---|
| committer | Colin Percival <cperciva@FreeBSD.org> | 2026-08-31 19:13:52 +0000 |
| commit | 6ddb10cf6b7f870d749e96d2ae55976b18896f54 (patch) | |
| tree | 26a90fbef6e5eb6849df7c00dc3657f80ccf0702 /usr.bin/make/make.1 | |
| parent | 4dcb33ebc80d83dfe231ea840d5c861a5ea41c98 (diff) | |
The strtoul function sets errno on error, but does not clear it on
success; when using strtoul and checking errno (as one should) for
ERANGE / EINVAL afterwards, it's important to zero errno first.
While here, remove a dead store.
Reviewed by: phk
Fixes: 4fe8c1b67be0 ("Add error and range checking ... ")
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D59270
Diffstat (limited to 'usr.bin/make/make.1')
0 files changed, 0 insertions, 0 deletions
