pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add port/ replacement for strsep()
Date: Mon, 22 Jul 2024 07:58:01 +0000
Message-ID: <E1sVnvl-000fhU-5A@gemulon.postgresql.org> (raw)

Add port/ replacement for strsep()

from OpenBSD, similar to strlcat, strlcpy

There are currently no uses, but some will be added soon.

Reviewed-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Reviewed-by: David Steele <david@pgmasters.net>
Discussion: https://www.postgresql.org/message-id/flat/79692bf9-17d3-41e6-b9c9-fc8c3944222a@eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/683be87fbba02b086cc05789fcbdc289120d1065

Modified Files
--------------
configure                  | 23 ++++++++++++++
configure.ac               |  3 +-
meson.build                |  2 ++
src/include/pg_config.h.in |  7 +++++
src/include/port.h         |  4 +++
src/port/meson.build       |  1 +
src/port/strsep.c          | 77 ++++++++++++++++++++++++++++++++++++++++++++++
7 files changed, 116 insertions(+), 1 deletion(-)



Message-ID: <E1sVnvl-000fhU-5A@gemulon.postgresql.org>
Permalink:  ../E1sVnvl-000fhU-5A@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sVnvl-000fhU-5A@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: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add port/ replacement for strsep()
  In-Reply-To: <E1sVnvl-000fhU-5A@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