diff options
| author | Po Lu | 2025-03-10 09:43:13 +0800 |
|---|---|---|
| committer | Po Lu | 2025-03-10 09:43:13 +0800 |
| commit | 5176eeb3003a4d31053b07a9c6045da723fa257d (patch) | |
| tree | b7e341f7e61638f119bdc8a8b926efc14cd68fd9 | |
| parent | 0861da138b91b936a1b307fd59622d98f9b22cc6 (diff) | |
| download | emacs-5176eeb3003a4d31053b07a9c6045da723fa257d.tar.gz emacs-5176eeb3003a4d31053b07a9c6045da723fa257d.zip | |
; Correct typos in commentary and error messages
* src/lisp.h (USE_LSB_TAG):
* src/pdumper.c (pdumper_load): Correct typos in commentary and
error messages.
| -rw-r--r-- | src/lisp.h | 4 | ||||
| -rw-r--r-- | src/pdumper.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lisp.h b/src/lisp.h index 22c822ad12f..243e8cc7f36 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -257,9 +257,9 @@ DEFINE_GDB_SYMBOL_BEGIN (bool, USE_LSB_TAG) | |||
| 257 | && !defined __alignas_is_defined \ | 257 | && !defined __alignas_is_defined \ |
| 258 | && __STDC_VERSION__ < 202311 && __cplusplus < 201103) | 258 | && __STDC_VERSION__ < 202311 && __cplusplus < 201103) |
| 259 | #define USE_LSB_TAG 0 | 259 | #define USE_LSB_TAG 0 |
| 260 | #else /* EMACS_INT_WIDTH >= GCALIGNMENT || defined alignas ... */ | 260 | #else /* ALIGNOF_EMACS_INT >= IDEAL_GCALIGNMENT || defined alignas ... */ |
| 261 | #define USE_LSB_TAG (VAL_MAX / 2 < INTPTR_MAX) | 261 | #define USE_LSB_TAG (VAL_MAX / 2 < INTPTR_MAX) |
| 262 | #endif /* EMACS_INT_WIDTH >= GCALIGNMENT || defined alignas ... */ | 262 | #endif /* ALIGNOF_EMACS_INT >= IDEAL_GCALIGNMENT || defined alignas ... */ |
| 263 | DEFINE_GDB_SYMBOL_END (USE_LSB_TAG) | 263 | DEFINE_GDB_SYMBOL_END (USE_LSB_TAG) |
| 264 | 264 | ||
| 265 | /* Mask for the value (as opposed to the type bits) of a Lisp object. */ | 265 | /* Mask for the value (as opposed to the type bits) of a Lisp object. */ |
diff --git a/src/pdumper.c b/src/pdumper.c index 8e10e561bcf..166ba32eab7 100644 --- a/src/pdumper.c +++ b/src/pdumper.c | |||
| @@ -5810,7 +5810,7 @@ pdumper_load (const char *dump_filename, char *argv0) | |||
| 5810 | if ((dump_base + dump_size) & ~VALMASK) | 5810 | if ((dump_base + dump_size) & ~VALMASK) |
| 5811 | { | 5811 | { |
| 5812 | fprintf (stderr, | 5812 | fprintf (stderr, |
| 5813 | "Failed to load dump file: 0x%p+0x%p & 0x%p != 0\n", | 5813 | "Failed to load dump file: 0x%p+0x%p & ~0x%p != 0\n", |
| 5814 | (void *) dump_base, (void *) dump_size, | 5814 | (void *) dump_base, (void *) dump_size, |
| 5815 | (void *) (uintptr_t) VALMASK); | 5815 | (void *) (uintptr_t) VALMASK); |
| 5816 | goto out; | 5816 | goto out; |