Fix a bug introduced in rev 1.8, where special files ended up
being treated like regular files because of missing braces. PR: 20143
This commit is contained in:
parent
3a09dd575f
commit
f632918f01
@ -157,7 +157,7 @@ main(argc, argv)
|
||||
|
||||
if (special)
|
||||
c_special(fd1, file1, skip1, fd2, file2, skip2);
|
||||
else
|
||||
else {
|
||||
if (zflag && sb1.st_size != sb2.st_size) {
|
||||
if (!sflag)
|
||||
(void) printf("%s %s differ: size\n",
|
||||
@ -166,6 +166,7 @@ main(argc, argv)
|
||||
}
|
||||
c_regular(fd1, file1, skip1, sb1.st_size,
|
||||
fd2, file2, skip2, sb2.st_size);
|
||||
}
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user