Mercurial > emacs
comparison src/coding.c @ 26526:b7438760079b
* callproc.c (strerror): Remove decl.
* fileio.c (strerror): Likewise.
* process.c (strerror): Likewise.
* emacs.c (strerror): Likewise.
(Vsystem_messages_locale): Renamed from Vmessages_locale.
All uses changed.
(Vprevious_system_messages_locale): Likewise, from
Vprevious_messages_locale.
(Vsystem_time_locale): Likewise, from Vtime_locale.
(Vprevious_system_time_locale): Likewise, from Vprevious_time_locale.
(ABORT_RETURN_TYPE): New macro.
(abort): Return type is now ABORT_RETURN_TYPE.
(main): Always invoke init_signals, even if POSIX_SIGNALS is not
defined.
(syms_of_emacs): messages-locale -> system-messages-locale,
previous-messages-locale -> previous-system-messages-locale,
time-locale -> system-time-locale,
previous-time-locale -> previous-system-time-locale.
* gmalloc.c (PP, __ptr_t): Assume ANSI C if STDC_HEADERS is defined.
(const): Do not define; that's config.h's job.
(<limits.h>): Include if HAVE_LIMITS_H is defined.
(CHAR_BIT): Move test for definedness outside of limits.h condition.
(<stddef.h>): Include if STDC_HEADERS is defined.
(FREE_RETURN_TYPE): New macro.
(free): Return type is now FREE_RETURN_TYPE.
* lisp.h (synchronize_system_time_locale): Renamed from
synchronize_time_locale. All uses changed.
(synchronize_system_messages_locale): Likewise, from
synchronize_messages_locale.
* process.c (sys_siglist): Remove.
* syntax.c (scan_sexps_forward): Use abort, not assert.
* sysdep.c (my_sys_siglist): New var.
(sys_siglist): New macro. Remove old initialized vars of same name.
(init_signals): Initialize sys_siglist.
* xfns.c (abort): Remove decl; stdlib.h now does this.
| author | Paul Eggert <eggert@twinsun.com> |
|---|---|
| date | Mon, 22 Nov 1999 08:19:51 +0000 |
| parents | 93f3d2337323 |
| children | 936b39bd05b4 |
comparison
equal
deleted
inserted
replaced
| 26525:4df5920724de | 26526:b7438760079b |
|---|---|
| 5866 emacs_strerror (error_number) | 5866 emacs_strerror (error_number) |
| 5867 int error_number; | 5867 int error_number; |
| 5868 { | 5868 { |
| 5869 char *str; | 5869 char *str; |
| 5870 | 5870 |
| 5871 synchronize_messages_locale (); | 5871 synchronize_system_messages_locale (); |
| 5872 str = strerror (error_number); | 5872 str = strerror (error_number); |
| 5873 | 5873 |
| 5874 if (! NILP (Vlocale_coding_system)) | 5874 if (! NILP (Vlocale_coding_system)) |
| 5875 { | 5875 { |
| 5876 Lisp_Object dec = code_convert_string_norecord (build_string (str), | 5876 Lisp_Object dec = code_convert_string_norecord (build_string (str), |
