[PATCH 4/5] login: User 64-bit time on struct lastlog

Joseph Myers joseph@codesourcery.com
Fri Jul 31 00:31:44 GMT 2020


On Thu, 30 Jul 2020, Adhemerval Zanella via Libc-alpha wrote:

> The different filename sound slike a strategy and I understand that the idea
> would also to use new versions for the utmp/utmpx symbols. What about the 
> compatibility symbols, should them be built on top of the new ABI and access
> the newer files or use the old format and access the old filenames?

I suppose that gets into questions about programs explicitly using 
utmpname.  If a program using the old symbol versions called utmpname 
explicitly with some filename, that's probably the name of a file in the 
old format.  But if it doesn't call utmpname, either you can access the 
old files in the old format and not get current data, or the new files in 
the new format and convert.

-- 
Joseph S. Myers
joseph@codesourcery.com


More information about the Libc-alpha mailing list