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:
sheldonh 2000-07-25 13:01:34 +00:00
parent 2de7b8d72b
commit ff63b77588

View File

@ -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);
}