Remove use of rindex() function
Peter Eisentraut <peter@eisentraut.org>
Author:
Peter Eisentraut <peter@eisentraut.org>
Date: 2026-01-08T07:53:49Z
Releases:
19 (unreleased)
Remove use of rindex() function rindex() has been removed from POSIX 2008. Replace the one remaining use with the equivalent and more standard strrchr(). Reviewed-by: Jelte Fennema-Nio <postgres@jeltef.nl> Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://www.postgresql.org/message-id/flat/98ce805c-6103-421b-adc3-fcf8f3dddbe3%40eisentraut.org
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/jit/llvm/llvmjit.c | modified | +1 −1 |
Discussion
- more POSIX 2008 cleanup: strnlen(), rindex() 4 messages · 2026-01-03 → 2026-01-08