[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/ChangeLog
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] Changes to emacs/src/ChangeLog |
Date: |
Sat, 25 Mar 2006 08:56:07 +0000 |
Index: emacs/src/ChangeLog
diff -u emacs/src/ChangeLog:1.4972 emacs/src/ChangeLog:1.4973
--- emacs/src/ChangeLog:1.4972 Fri Mar 24 20:40:23 2006
+++ emacs/src/ChangeLog Sat Mar 25 08:56:07 2006
@@ -1,22 +1,11 @@
2006-03-24 Paul Eggert <address@hidden>
- * editfns.c: Do not use ctime, since it has undefined behavior
- with out-of-range time stamps. This fixes a bug where
- (current-time-string '(2814749767106 0)) would make Emacs dump
- core on 64-bit Solaris 8. The fix is to use localtime+asctime
- (checking for in-range results) instead of ctime. Please see
- <http://www.opengroup.org/austin/mailarchives/ag/msg09294.html>
- for more details about this portability problem.
- (TM_YEAR_BASE): Move up, so the changes below can use it.
+ * editfns.c (TM_YEAR_BASE): Move up, so the changes below can use it.
(Fdecode_time, Fencode_time): Use TM_YEAR_BASE instead of 1900.
- (Fdecode_time): Cast tm_year to EMACS_INT, to avoid overflow when
- int is narrower than EMACS_INT.
- (Fcurrent_time_string): As with Fformat_time_string, report an
- invalid time specification if the argument is invalid. Also,
- check for out-of-range time stamps; this prevents a buffer overrun
- that causes Emacs to dump core on 64-bit Solaris sparc, and it
- preserves the historic behavior of always returning a fixed-size
- string.
+ (Fdecode_time): Cast tm_year to EMACS_INT.
+ (Fcurrent_time_string): Report an invalid time specification if
+ the argument is invalid. Also, check for out-of-range time
+ stamps.
2006-03-24 Kim F. Storm <address@hidden>
- [Emacs-diffs] Changes to emacs/src/ChangeLog, (continued)
- [Emacs-diffs] Changes to emacs/src/ChangeLog, Eli Zaretskii, 2006/03/20
- [Emacs-diffs] Changes to emacs/src/ChangeLog, Andreas Schwab, 2006/03/20
- [Emacs-diffs] Changes to emacs/src/ChangeLog, Kim F. Storm, 2006/03/21
- [Emacs-diffs] Changes to emacs/src/ChangeLog, Ken Raeburn, 2006/03/22
- [Emacs-diffs] Changes to emacs/src/ChangeLog, Kim F. Storm, 2006/03/22
- [Emacs-diffs] Changes to emacs/src/ChangeLog, YAMAMOTO Mitsuharu, 2006/03/24
- [Emacs-diffs] Changes to emacs/src/ChangeLog, Kim F. Storm, 2006/03/24
- [Emacs-diffs] Changes to emacs/src/ChangeLog, Kim F. Storm, 2006/03/24
- [Emacs-diffs] Changes to emacs/src/ChangeLog, Kim F. Storm, 2006/03/24
- [Emacs-diffs] Changes to emacs/src/ChangeLog, Paul Eggert, 2006/03/24
- [Emacs-diffs] Changes to emacs/src/ChangeLog,
Eli Zaretskii <=
- [Emacs-diffs] Changes to emacs/src/ChangeLog, Stefan Monnier, 2006/03/27
- [Emacs-diffs] Changes to emacs/src/ChangeLog, Jan Djärv, 2006/03/27
- [Emacs-diffs] Changes to emacs/src/ChangeLog, Kim F. Storm, 2006/03/27
- [Emacs-diffs] Changes to emacs/src/ChangeLog, Eli Zaretskii, 2006/03/27
- [Emacs-diffs] Changes to emacs/src/ChangeLog, Stefan Monnier, 2006/03/29
- [Emacs-diffs] Changes to emacs/src/ChangeLog, Juanma Barranquero, 2006/03/29
- [Emacs-diffs] Changes to emacs/src/ChangeLog, Kenichi Handa, 2006/03/29
- [Emacs-diffs] Changes to emacs/src/ChangeLog, Dan Nicolaescu, 2006/03/30
- [Emacs-diffs] Changes to emacs/src/ChangeLog, Kenichi Handa, 2006/03/30