errno = ENOTDIR;
return -1;
}
- if (SAME_INODE (st1, st2) == 1) /* Reduced to cases 1, 5. */
+ if (SAME_INODE (st1, st2)) /* Reduced to cases 1, 5. */
return func (file1, file2);
}
else if (fd2 == AT_FDCWD) /* Cases 12, 13. */
errno = ENOTDIR;
return -1;
}
- if (SAME_INODE (st1, st2) == 1) /* Reduced to cases 4, 5. */
+ if (SAME_INODE (st1, st2)) /* Reduced to cases 4, 5. */
return func (file1, file2);
}
else if (fd1 != fd2) /* Case 15b. */
errno = ENOTDIR;
return -1;
}
- if (SAME_INODE (st1, st2) == 1) /* Reduced to case 15a. */
+ if (SAME_INODE (st1, st2)) /* Reduced to case 15a. */
{
fd2 = fd1;
- if (stat (".", &st1) == 0 && SAME_INODE (st1, st2) == 1)
+ if (stat (".", &st1) == 0 && SAME_INODE (st1, st2))
return func (file1, file2); /* Further reduced to case 5. */
}
}
errno = ENOTDIR;
return -1;
}
- if (stat (".", &st2) == 0 && SAME_INODE (st1, st2) == 1)
+ if (stat (".", &st2) == 0 && SAME_INODE (st1, st2))
return func (file1, file2); /* Reduced to case 5. */
}