Zebediah Figura z.figura12@gmail.com writes:
@@ -2367,6 +2367,13 @@ static void set_fd_name( struct fd *fd, struct fd *root, const char *nameptr,
if (!stat( name, &st )) {
if (fd->unix_fd != 1 && !fstat( fd->unix_fd, &st2 ) &&
st.st_ino == st2.st_ino && st.st_dev == st2.st_dev)
{
free( name );
return;
}
Is this supposed to apply also to the create_link case? This would need a test. Also you lost a minus sign in there.