diff options
| author | Paul Eggert | 2012-05-03 13:04:29 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-05-03 13:04:29 -0700 |
| commit | ab0fa4e4ba0b2b93a9ef007842523d8d5f9eb758 (patch) | |
| tree | 9adfb1831b29c6f4d68b5d1ea6de54f05617bc6a /src/ChangeLog | |
| parent | f7ae6719123ad5f4f505290621810318d9ee5484 (diff) | |
| download | emacs-ab0fa4e4ba0b2b93a9ef007842523d8d5f9eb758.tar.gz emacs-ab0fa4e4ba0b2b93a9ef007842523d8d5f9eb758.zip | |
Do not limit current-time-string to years 1000..9999.
* src/editfns.c (TM_YEAR_IN_ASCTIME_RANGE): Remove.
(Fcurrent_time_string): Support any year that is supported by the
underlying localtime representation. Don't use asctime, as it
has undefined behavior for years outside the range -999..9999.
* doc/lispref/os.texi (Time of Day): Do not limit current-time-string
to years 1000..9999.
* etc/NEWS: Do not limit current-time-string to years 1000..9999.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index bf297616e82..2c2902e937a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2012-05-03 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Do not limit current-time-string to years 1000..9999. | ||
| 4 | * editfns.c (TM_YEAR_IN_ASCTIME_RANGE): Remove. | ||
| 5 | (Fcurrent_time_string): Support any year that is supported by the | ||
| 6 | underlying localtime representation. Don't use asctime, as it | ||
| 7 | has undefined behavior for years outside the range -999..9999. | ||
| 8 | |||
| 1 | 2012-05-02 Paul Eggert <eggert@cs.ucla.edu> | 9 | 2012-05-02 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 10 | ||
| 3 | Fix race conditions involving setenv, gmtime, localtime, asctime. | 11 | Fix race conditions involving setenv, gmtime, localtime, asctime. |