diff options
| author | Paul Eggert | 2006-03-24 20:40:24 +0000 |
|---|---|---|
| committer | Paul Eggert | 2006-03-24 20:40:24 +0000 |
| commit | aac18aa43680c793f9c8211c3f4a8d663463a918 (patch) | |
| tree | f14ee5e7a339ce70dbbb84812367c1d854cea3be /src/coding.c | |
| parent | 99c60e860c171ee2cb6325655a9c10c3f31083c8 (diff) | |
| download | emacs-aac18aa43680c793f9c8211c3f4a8d663463a918.tar.gz emacs-aac18aa43680c793f9c8211c3f4a8d663463a918.zip | |
* editfns.c: (TM_YEAR_BASE): Move up.
(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.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions