diff options
| author | Paul Eggert | 2019-07-07 12:29:27 -0700 |
|---|---|---|
| committer | Paul Eggert | 2019-07-07 12:33:35 -0700 |
| commit | 8f522efe9a963cd3523ea6863f9bd44881cdf6b7 (patch) | |
| tree | 10ba28c937e142395bcc4d81580d24fa334e1227 /doc | |
| parent | bda8a57141e6cb5455e1246c6ab394791fd6c582 (diff) | |
| download | emacs-8f522efe9a963cd3523ea6863f9bd44881cdf6b7.tar.gz emacs-8f522efe9a963cd3523ea6863f9bd44881cdf6b7.zip | |
Remove printmax_t etc.
printmax_t etc. were needed only for platforms that lacked
support for printing intmax_t. These platforms are now so
obsolete that they are no longer practical porting targets.
* src/image.c (gs_load): Fix unlikely buffer overrun
discovered while making these changes. It was introduced in
2011-07-17T00:34:43!eggert@cs.ucla.edu.
* src/lisp.h (printmax_t, uprintmax_t, pMd, pMu, pMx):
Remove. All uses replaced by their standard counterparts
intmax_t, uintmax_t, PRIdMAX, PRIuMAX, PRIxMAX.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/internals.texi | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/doc/lispref/internals.texi b/doc/lispref/internals.texi index f1f2ea215a5..72066d34f44 100644 --- a/doc/lispref/internals.texi +++ b/doc/lispref/internals.texi | |||
| @@ -2662,13 +2662,10 @@ signed, unless this assumption is known to be safe. For example, | |||
| 2662 | although @code{off_t} is always signed, @code{time_t} need not be. | 2662 | although @code{off_t} is always signed, @code{time_t} need not be. |
| 2663 | 2663 | ||
| 2664 | @item | 2664 | @item |
| 2665 | Prefer the Emacs-defined type @code{printmax_t} for representing | ||
| 2666 | values that might be any signed integer that can be printed, | ||
| 2667 | using a @code{printf}-family function. | ||
| 2668 | |||
| 2669 | @item | ||
| 2670 | Prefer @code{intmax_t} for representing values that might be any | 2665 | Prefer @code{intmax_t} for representing values that might be any |
| 2671 | signed integer value. | 2666 | signed integer value. |
| 2667 | A @code{printf}-family function can print such a value | ||
| 2668 | via a format like @code{"%"PRIdMAX}. | ||
| 2672 | 2669 | ||
| 2673 | @item | 2670 | @item |
| 2674 | Prefer @code{bool}, @code{false} and @code{true} for booleans. | 2671 | Prefer @code{bool}, @code{false} and @code{true} for booleans. |