advise on future of glibc (mktime issue)

Nix nix@esperi.org.uk
Wed Jun 8 16:44:00 GMT 2005


On Wed, 8 Jun 2005, Denis Vlasenko said:
> On Wednesday 08 June 2005 03:02, Nix wrote:
>> Am I missing something? If not, I'll whip up a patch that does that
>> (against HEAD, as this is unlikely to be suitable for the stable branch:
>> I can roll one against 2.3.5 anyway, if Jairo wants).
> 
> Maybe do not stat the file, but mmap it instead, and check for changes
> with memcmp()?

I think we should spot rm-and-replacement of /etc/localtime: wouldn't
that get broken? The last thing we want is for some processes to be
checking an unlinked file for changes... :/

-- 
`It's as bizarre an intrusion as, I don't know, the hobbits coming home
 to find that the Shire has been taken over by gangsta rappers.'



More information about the Libc-alpha mailing list