* 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:
Christopher Faylor
2003-09-09 00:21:16 +00:00
parent 7d0e78a71b
commit 51d340e1c8
3 changed files with 10 additions and 3 deletions

View File

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