[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pwd_mkdb(8) is still broken to me
Masao Uebayashi <uebayasi%gmail.com@localhost> wrote:
>If I build nbpwd_mkdb on 32-bit time_t host, it generates "VERSION 0"
>*pwd.db files, which can' be read by libc correctly. This is a fix
>against pwd_mkdb(8) to generate "VERSION 1" *pwd.db files.
>A question is, is there any case where "VERSION 0" is really needed
>and generated? I think "VERSION 0" handling is broken. Moreover,
>what is VERSION 0 and VERSION 1? What is the version of "no VERSION
>string" *pwd.db? These conditions and specifications are vague.
version 0 or no version means 32 bit time_t
version 1 means 64 bit time_t
new libc can read both; old libc can read the former. If the new libc
cannot read version 0 files, then it is broken.
Main Index |
Thread Index |