* dir.cc (readdir): Reinstate setting of old ino field for legacy applications.
* dirent.h (dirent): Rename unused field to __ino32. * passwd.cc (getpwnam_r): Initialize pw_comment field.
This commit is contained in:
@ -174,6 +174,7 @@ readdir (DIR *dir)
|
||||
__ino64_t dino = hash_path_name (dir->__d_dirhash, "\\");
|
||||
dir->__d_dirent->d_ino = hash_path_name (dino, res->d_name);
|
||||
}
|
||||
res->__ino32 = dir->__d_dirent->d_ino; // for legacy applications
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
Reference in New Issue
Block a user