Add support to port/snprintf.c for position parameter specification:
Bruce Momjian <bruce@momjian.us>
Add support to port/snprintf.c for position parameter specification: + # Determine if printf supports %1$ argument selection, e.g. %5$ selects + # the fifth argument after the printf print string. + # This is not in the C99 standard, but in the Single Unix Specification (SUS). + # It is used in our langauge translation strings. Nicolai Tufar with configure changes by Bruce.
Files
| Path | Change | +/− |
|---|---|---|
| config/c-library.m4 | modified | +34 −1 |
| configure | modified | +57 −0 |
| configure.in | modified | +8 −1 |
| src/port/snprintf.c | modified | +196 −15 |