Mercurial > hg > xemacs-beta
comparison src/ChangeLog @ 5795:d2c0ff38ad5c
Report lstream errors when encoding/decoding.
See <CAHCOHQ=FAieD-2nP303fMvwkii8HK2z+X7gRZ2+4PH1CA5_-NA@mail.gmail.com> in
xemacs-patches.
author | Jerry James <james@xemacs.org> |
---|---|
date | Wed, 14 May 2014 14:16:24 -0600 |
parents | 72c5d36ba3b6 |
children | acf1c26e3019 |
comparison
equal
deleted
inserted
replaced
5794:2d20d57d4e7b | 5795:d2c0ff38ad5c |
---|---|
1 2014-05-06 Jerry James <james@xemacs.org> | |
2 | |
3 * file-coding.c (encode_decode_coding_region): Signal an error if | |
4 Lstream_read encounters an error (returns -1). | |
5 (detect_coding_type): Ditto. Add an argument for the stream error. | |
6 (look_for_coding_system_magic_cookie): Ditto. | |
7 (determine_real_coding_system): Pass new stream error argument. | |
8 (undecided_convert): Ditto. | |
9 (Ffind_coding_system_magic_cookie_in_file): Ditto. | |
10 * lstream.c (Lstream_errno): New function. | |
11 (struct filedesc_stream): Add saved_errno member. | |
12 (make_filedesc_stream_1): Initialize it. | |
13 (filedesc_reader): Set it. | |
14 (filedesc_writer): Set it. | |
15 (filedesc_error): New function. | |
16 (lstream_type_create): Record that filedesc has an error method. | |
17 * lstream.h (struct lstream_implementation): Add error member. | |
18 (Lstream_errno): Declare. | |
19 | |
1 2014-01-27 Michael Sperber <mike@xemacs.org> | 20 2014-01-27 Michael Sperber <mike@xemacs.org> |
2 | 21 |
3 * symbols.c (Fdefine_function): Allow optional `docstring' | 22 * symbols.c (Fdefine_function): Allow optional `docstring' |
4 argument, as in GNU Emacs. | 23 argument, as in GNU Emacs. |
5 | 24 |