freebsd-src/usr.bin/uniq
Daniel Tameling 4cf7301e96 uniq(1): use strtonum to parse options
Previously strtol was used and the result was directly cast to an int
without checking for an overflow. Use strtonum instead since it is
safer and tells us what went wrong.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/643

(cherry picked from commit e052829e3e)
2024-01-17 17:16:01 +01:00
..
tests Remove $FreeBSD$: one-line sh pattern 2023-08-23 11:43:30 -06:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-23 11:43:30 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-23 11:43:30 -06:00
uniq.1 Remove $FreeBSD$: one-line nroff pattern 2023-08-23 11:43:32 -06:00
uniq.c uniq(1): use strtonum to parse options 2024-01-17 17:16:01 +01:00