mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-19 15:33:56 +00:00
Permit hex/octal parameters to cmp, to match what the manual page says.
PR: 3850, 3855
This commit is contained in:
parent
9c08ff38e5
commit
1e17b9450c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=28421
@ -120,8 +120,8 @@ main(argc, argv)
|
||||
exit(1);
|
||||
}
|
||||
|
||||
skip1 = argc > 2 ? strtol(argv[2], NULL, 10) : 0;
|
||||
skip2 = argc == 4 ? strtol(argv[3], NULL, 10) : 0;
|
||||
skip1 = argc > 2 ? strtol(argv[2], NULL, 0) : 0;
|
||||
skip2 = argc == 4 ? strtol(argv[3], NULL, 0) : 0;
|
||||
|
||||
if (!special) {
|
||||
if (fstat(fd1, &sb1)) {
|
||||
|
Loading…
Reference in New Issue
Block a user