From: Philipp Stephani Date: Thu, 7 Sep 2023 09:30:52 +0000 (+0200) Subject: Unbreak builds with CHECK_STRUCTS. X-Git-Tag: emacs-29.1.90~127 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1a668cda8bc86755edd3ed7260012f312cadbaf3;p=emacs.git Unbreak builds with CHECK_STRUCTS. * src/pdumper.c (dump_buffer): Fix hash for 'struct buffer'. The recent changes to that structure where commits 8f3091defb3ec4396ccea563f67c005044b822ca and 0bd46619413e83fe3c85c8a1dfbf5e20dfce8605, both of which just affected comments. --- diff --git a/src/pdumper.c b/src/pdumper.c index 6e102bcd808..9347d51813e 100644 --- a/src/pdumper.c +++ b/src/pdumper.c @@ -2748,7 +2748,7 @@ dump_hash_table (struct dump_context *ctx, static dump_off dump_buffer (struct dump_context *ctx, const struct buffer *in_buffer) { -#if CHECK_STRUCTS && !defined HASH_buffer_85D317CE74 +#if CHECK_STRUCTS && !defined HASH_buffer_9E96D7C4B4 # error "buffer changed. See CHECK_STRUCTS comment in config.h." #endif struct buffer munged_buffer = *in_buffer;