pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix minor portability issue in pg_resetwal.c.
Date: Tue, 09 Dec 2025 00:06:52 +0000
Message-ID: <E1vSlFj-003W8t-1e@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1vSlFj-003W8t-1e@gemulon.postgresql.org>
Permalink:  ../E1vSlFj-003W8t-1e@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1vSlFj-003W8t-1e@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix minor portability issue in pg_resetwal.c.
  In-Reply-To: <E1vSlFj-003W8t-1e@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox