pgsql: Fix minor portability issue in pg_resetwal.c.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix minor portability issue in pg_resetwal.c.
Date: 2025-12-09 00:06:52
Message-ID: E1vSlFj-003W8t-1e@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix minor portability issue in pg_resetwal.c.

The argument of isspace() (like other <ctype.h> functions)
must be cast to unsigned char to ensure portable results.

Per NetBSD buildfarm members. Oversight in 636c1914b.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c004d68c9395812bfcff82c2d7c4e56d36e72f1c

Modified Files
--------------
src/bin/pg_resetwal/pg_resetwal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2025-12-09 01:39:53 pgsql: libpq: Refactor logic checking for exit() in shared library buil
Previous Message Artem Gavrilov 2025-12-08 19:32:35 Re: pgsql: Add function to log the memory contexts of specified backend pro