From: Philipp Stephani Date: Sun, 22 Nov 2020 22:22:50 +0000 (+0100) Subject: Unbreak compilation with CHECK_STRUCTS. X-Git-Tag: emacs-28.0.90~5067 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=edd949a3eb8907eed84eab30e170cc138a5b2d41;p=emacs.git Unbreak compilation with CHECK_STRUCTS. Commit 3963aea4f4a22da0c1fb8ca8ca80b59c58373811 modified the ‘buffer’ structure, but didn’t adapt the hash. * src/pdumper.c (dump_buffer): Update buffer hash. --- diff --git a/src/pdumper.c b/src/pdumper.c index b5b4050b93d..0096a4d45a3 100644 --- a/src/pdumper.c +++ b/src/pdumper.c @@ -2692,7 +2692,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_5DC36DBD42 +#if CHECK_STRUCTS && !defined HASH_buffer_EE36B4292E # error "buffer changed. See CHECK_STRUCTS comment in config.h." #endif struct buffer munged_buffer = *in_buffer;