Permit hex/octal parameters to cmp, to match what the manual page says.

PR:		3850, 3855
This commit is contained in:
Jonathan Lemon 1997-08-19 14:34:04 +00:00
parent 9c08ff38e5
commit 1e17b9450c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=28421

View File

@ -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)) {