aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog21
1 files changed, 5 insertions, 16 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index ccc1f3923c4..15267b42d45 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,22 +1,11 @@
12006-03-24 Paul Eggert <eggert@cs.ucla.edu> 12006-03-24 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * editfns.c: Do not use ctime, since it has undefined behavior 3 * editfns.c (TM_YEAR_BASE): Move up, so the changes below can use it.
4 with out-of-range time stamps. This fixes a bug where
5 (current-time-string '(2814749767106 0)) would make Emacs dump
6 core on 64-bit Solaris 8. The fix is to use localtime+asctime
7 (checking for in-range results) instead of ctime. Please see
8 <http://www.opengroup.org/austin/mailarchives/ag/msg09294.html>
9 for more details about this portability problem.
10 (TM_YEAR_BASE): Move up, so the changes below can use it.
11 (Fdecode_time, Fencode_time): Use TM_YEAR_BASE instead of 1900. 4 (Fdecode_time, Fencode_time): Use TM_YEAR_BASE instead of 1900.
12 (Fdecode_time): Cast tm_year to EMACS_INT, to avoid overflow when 5 (Fdecode_time): Cast tm_year to EMACS_INT.
13 int is narrower than EMACS_INT. 6 (Fcurrent_time_string): Report an invalid time specification if
14 (Fcurrent_time_string): As with Fformat_time_string, report an 7 the argument is invalid. Also, check for out-of-range time
15 invalid time specification if the argument is invalid. Also, 8 stamps.
16 check for out-of-range time stamps; this prevents a buffer overrun
17 that causes Emacs to dump core on 64-bit Solaris sparc, and it
18 preserves the historic behavior of always returning a fixed-size
19 string.
20 9
212006-03-24 Kim F. Storm <storm@cua.dk> 102006-03-24 Kim F. Storm <storm@cua.dk>
22 11