Add port/ replacement for strsep()
Peter Eisentraut <peter@eisentraut.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| configure | modified | +23 −0 |
| configure.ac | modified | +2 −1 |
| meson.build | modified | +2 −0 |
| src/include/pg_config.h.in | modified | +7 −0 |
| src/include/port.h | modified | +4 −0 |
| src/port/meson.build | modified | +1 −0 |
| src/port/strsep.c | added | +77 −0 |
Discussion
- replace strtok() 22 messages · 2024-06-18 → 2024-10-18