[PATCH 22/52] login: Use 64-bit time on struct lastlog [BZ #25844]

Adhemerval Zanella adhemerval.zanella@linaro.org
Mon Mar 8 13:05:45 GMT 2021



On 05/03/2021 21:07, Joseph Myers wrote:
> On Fri, 5 Mar 2021, Adhemerval Zanella via Libc-alpha wrote:
> 
>> The new struct has the same size on both 32-bit and 64-bit
>> architectures.  As for utmp{x} 64-bit time_t support, a new file name
>> is defined for _PATH_LASTLOG.
> 
> I'd expect a NEWS entry, whether in this patch or another one, that goes 
> into detail about how the different formats are handled for all affected 
> files using the utmp and lastlog formats (so giving sufficient information 
> for a distributor to implement upgrade support that avoids corrupting the 
> files or losing any existing data in them, for example, and for anyone who 
> wishes to write applications that access old files in the old formats).
> 

Fair enough, I will update the patch with a proper NEWS entry.


More information about the Libc-alpha mailing list