Remove configure probe for setsid.
Thomas Munro <tmunro@postgresql.org>
Remove configure probe for setsid. setsid() is in SUSv2 and all targeted Unix systems have it. Retain a HAVE_SETSID macro, defined on Unix only. That's easier to understand than !defined(WIN32), for the optional code it governs. Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Reviewed-by: Andres Freund <andres@anarazel.de> Discussion: https://postgr.es/m/CA+hUKGJ3LHeP9w5Fgzdr4G8AnEtJ=z=p6hGDEm4qYGEUX5B6fQ@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| configure | modified | +1 −1 |
| configure.ac | modified | +0 −1 |
| src/include/pg_config.h.in | modified | +0 −3 |
| src/include/port.h | modified | +1 −0 |
| src/tools/msvc/Solution.pm | modified | +0 −1 |
Discussion
- Cleaning up historical portability baggage 108 messages · 2022-07-10 → 2025-06-10