GNU bug report logs - #62647
[INSTALL] grep: re-fix Y2038 bug on glibc 2.34+ x86, ARM

Previous Next

Package: grep;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Mon, 3 Apr 2023 17:34:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #22 received at 62647 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: arnold <at> skeeve.com, jim <at> meyering.net
Cc: 62647 <at> debbugs.gnu.org
Subject: Re: bug#62647: [INSTALL] grep: re-fix Y2038 bug on glibc 2.34+ x86,
 ARM
Date: Mon, 3 Apr 2023 23:39:30 -0700
On 2023-04-03 23:35, arnold <at> skeeve.com wrote:
> Why in the world does grep even care about timestamps on files?

The same reason 'awk' does. grep calls stat, fstat, etc., and the call 
fails with errno == EOVERFLOW if the file's timestamp is past the year 2038.

For the same reason I expect that awk, too, should use AC_SYS_YEAR2038 
or its equivalent.




This bug report was last modified 2 years and 109 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.