1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 15:21:51 -08:00
emacs/src/m
Paul Eggert c2982e87d3 Replace pEd with more-general pI, and fix some printf arg casts.
* lisp.h (pI): New macro, generalizing old pEd macro to other
conversion specifiers.  For example, use "...%"pI"d..." rather
than "...%"pEd"...".
(pEd): Remove.  All uses replaced with similar uses of pI.
* src/m/amdx86-64.h, src/m/ia64.h, src/m/ibms390x.h: Likewise.
* alloc.c (check_pure_size): Don't overflow by converting size to int.
* bidi.c (bidi_dump_cached_states): Use pI to avoid cast.
* data.c (Fnumber_to_string): Use pI instead of if-then-else-abort.
* dbusbind.c (xd_append_arg): Use pI to avoid cast.
(Fdbus_method_return_internal, Fdbus_method_error_internal): Likewise.
* font.c (font_unparse_xlfd): Avoid potential buffer overrun on
64-bit hosts.
(font_unparse_xlfd, font_unparse_fcname): Use pI to avoid casts.
* keyboard.c (record_char, modify_event_symbol): Use pI to avoid casts.
* print.c (safe_debug_print, print_object): Likewise.
(print_object): Don't overflow by converting EMACS_INT or EMACS_UINT
to int.
Use pI instead of if-then-else-abort.  Use %p to avoid casts.
* process.c (Fmake_network_process): Use pI to avoid cast.
* region-cache.c (pp_cache): Likewise.
* xdisp.c (decode_mode_spec): Likewise.
* xrdb.c (x_load_resources) [USE_MOTIF]: Use pI to avoid undefined
behavior on 64-bit hosts with printf arg.
* xselect.c (x_queue_event): Use %p to avoid casts.
(x_stop_queuing_selection_requests): Likewise.
(x_get_window_property): Don't truncate byte count to an 'int'
when tracing.
2011-04-18 17:34:42 -07:00
..
alpha.h Import getloadavg module from gnulib. 2011-02-15 16:33:44 -08:00
amdx86-64.h Replace pEd with more-general pI, and fix some printf arg casts. 2011-04-18 17:34:42 -07:00
ia64.h Replace pEd with more-general pI, and fix some printf arg casts. 2011-04-18 17:34:42 -07:00
ibmrs6000.h Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
ibms390.h Import getloadavg module from gnulib. 2011-02-15 16:33:44 -08:00
ibms390x.h Replace pEd with more-general pI, and fix some printf arg casts. 2011-04-18 17:34:42 -07:00
intel386.h Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
iris4d.h Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
m68k.h Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
macppc.h Import getloadavg module from gnulib. 2011-02-15 16:33:44 -08:00
README
sparc.h Import getloadavg module from gnulib. 2011-02-15 16:33:44 -08:00
template.h Import getloadavg module from gnulib. 2011-02-15 16:33:44 -08:00
vax.h Import getloadavg module from gnulib. 2011-02-15 16:33:44 -08:00

This directory contains C header files containing machine-specific
definitions.  Each file describes a particular machine.  The emacs
configuration script edits ../config.h to include the appropriate one of
these files, and then each emacs source file includes config.h.

template.h is a generic template for machine descriptions; it
describes the parameters a machine file can specify.