diff options
| author | Paul Eggert | 2025-11-25 22:13:37 -0800 |
|---|---|---|
| committer | Paul Eggert | 2025-11-25 23:08:33 -0800 |
| commit | 8cdc8a51efdcaefe3632370e7c3ce9c0cfe77e9d (patch) | |
| tree | 2706ced060603fa07e7891477ce42975e14f1a23 /lib/stdio.in.h | |
| parent | 16a70518880ef8f54bd853020f1606d3abf04d8e (diff) | |
| download | emacs-8cdc8a51efdcaefe3632370e7c3ce9c0cfe77e9d.tar.gz emacs-8cdc8a51efdcaefe3632370e7c3ce9c0cfe77e9d.zip | |
Update from Gnulib by running admin/merge-gnulib
Diffstat (limited to 'lib/stdio.in.h')
| -rw-r--r-- | lib/stdio.in.h | 37 |
1 files changed, 1 insertions, 36 deletions
diff --git a/lib/stdio.in.h b/lib/stdio.in.h index cc6010119d0..c2af4f6dffc 100644 --- a/lib/stdio.in.h +++ b/lib/stdio.in.h | |||
| @@ -338,7 +338,7 @@ _GL_CXXALIAS_SYS (dprintf, int, (int fd, const char *restrict format, ...)); | |||
| 338 | _GL_CXXALIASWARN (dprintf); | 338 | _GL_CXXALIASWARN (dprintf); |
| 339 | # endif | 339 | # endif |
| 340 | #elif defined GNULIB_POSIXCHECK | 340 | #elif defined GNULIB_POSIXCHECK |
| 341 | # undef dprintf | 341 | # undef dprintf /* https://lists.gnu.org/r/bug-gnulib/2025-11/msg00254.html */ |
| 342 | # if HAVE_RAW_DECL_DPRINTF | 342 | # if HAVE_RAW_DECL_DPRINTF |
| 343 | _GL_WARN_ON_USE (dprintf, "dprintf is unportable - " | 343 | _GL_WARN_ON_USE (dprintf, "dprintf is unportable - " |
| 344 | "use gnulib module dprintf for portability"); | 344 | "use gnulib module dprintf for portability"); |
| @@ -360,7 +360,6 @@ _GL_CXXALIAS_SYS (fclose, int, (FILE *stream)); | |||
| 360 | _GL_CXXALIASWARN (fclose); | 360 | _GL_CXXALIASWARN (fclose); |
| 361 | # endif | 361 | # endif |
| 362 | #elif defined GNULIB_POSIXCHECK | 362 | #elif defined GNULIB_POSIXCHECK |
| 363 | # undef fclose | ||
| 364 | /* Assume fclose is always declared. */ | 363 | /* Assume fclose is always declared. */ |
| 365 | _GL_WARN_ON_USE (fclose, "fclose is not always POSIX compliant - " | 364 | _GL_WARN_ON_USE (fclose, "fclose is not always POSIX compliant - " |
| 366 | "use gnulib module fclose for portable POSIX compliance"); | 365 | "use gnulib module fclose for portable POSIX compliance"); |
| @@ -447,7 +446,6 @@ _GL_FUNCDECL_SYS (fdopen, FILE *, | |||
| 447 | # endif | 446 | # endif |
| 448 | # endif | 447 | # endif |
| 449 | # if defined GNULIB_POSIXCHECK | 448 | # if defined GNULIB_POSIXCHECK |
| 450 | # undef fdopen | ||
| 451 | /* Assume fdopen is always declared. */ | 449 | /* Assume fdopen is always declared. */ |
| 452 | _GL_WARN_ON_USE (fdopen, "fdopen on native Windows platforms is not POSIX compliant - " | 450 | _GL_WARN_ON_USE (fdopen, "fdopen on native Windows platforms is not POSIX compliant - " |
| 453 | "use gnulib module fdopen for portability"); | 451 | "use gnulib module fdopen for portability"); |
| @@ -488,7 +486,6 @@ _GL_CXXALIAS_SYS (fflush, int, (FILE *gl_stream)); | |||
| 488 | _GL_CXXALIASWARN (fflush); | 486 | _GL_CXXALIASWARN (fflush); |
| 489 | # endif | 487 | # endif |
| 490 | #elif defined GNULIB_POSIXCHECK | 488 | #elif defined GNULIB_POSIXCHECK |
| 491 | # undef fflush | ||
| 492 | /* Assume fflush is always declared. */ | 489 | /* Assume fflush is always declared. */ |
| 493 | _GL_WARN_ON_USE (fflush, "fflush is not always POSIX compliant - " | 490 | _GL_WARN_ON_USE (fflush, "fflush is not always POSIX compliant - " |
| 494 | "use gnulib module fflush for portable POSIX compliance"); | 491 | "use gnulib module fflush for portable POSIX compliance"); |
| @@ -581,7 +578,6 @@ _GL_FUNCDECL_SYS (fopen, FILE *, | |||
| 581 | _GL_ARG_NONNULL ((1, 2)) _GL_ATTRIBUTE_DEALLOC (fclose, 1)); | 578 | _GL_ARG_NONNULL ((1, 2)) _GL_ATTRIBUTE_DEALLOC (fclose, 1)); |
| 582 | # endif | 579 | # endif |
| 583 | # if defined GNULIB_POSIXCHECK | 580 | # if defined GNULIB_POSIXCHECK |
| 584 | # undef fopen | ||
| 585 | /* Assume fopen is always declared. */ | 581 | /* Assume fopen is always declared. */ |
| 586 | _GL_WARN_ON_USE (fopen, "fopen on native Windows platforms is not POSIX compliant - " | 582 | _GL_WARN_ON_USE (fopen, "fopen on native Windows platforms is not POSIX compliant - " |
| 587 | "use gnulib module fopen for portability"); | 583 | "use gnulib module fopen for portability"); |
| @@ -641,9 +637,6 @@ _GL_CXXALIASWARN (fprintf); | |||
| 641 | # endif | 637 | # endif |
| 642 | #endif | 638 | #endif |
| 643 | #if !@GNULIB_FPRINTF_POSIX@ && defined GNULIB_POSIXCHECK | 639 | #if !@GNULIB_FPRINTF_POSIX@ && defined GNULIB_POSIXCHECK |
| 644 | # if !GNULIB_overrides_fprintf | ||
| 645 | # undef fprintf | ||
| 646 | # endif | ||
| 647 | /* Assume fprintf is always declared. */ | 640 | /* Assume fprintf is always declared. */ |
| 648 | _GL_WARN_ON_USE (fprintf, "fprintf is not always POSIX compliant - " | 641 | _GL_WARN_ON_USE (fprintf, "fprintf is not always POSIX compliant - " |
| 649 | "use gnulib module fprintf-posix for portable " | 642 | "use gnulib module fprintf-posix for portable " |
| @@ -673,7 +666,6 @@ _GL_CXXALIAS_SYS (fpurge, int, (FILE *gl_stream)); | |||
| 673 | _GL_CXXALIASWARN (fpurge); | 666 | _GL_CXXALIASWARN (fpurge); |
| 674 | # endif | 667 | # endif |
| 675 | #elif defined GNULIB_POSIXCHECK | 668 | #elif defined GNULIB_POSIXCHECK |
| 676 | # undef fpurge | ||
| 677 | # if HAVE_RAW_DECL_FPURGE | 669 | # if HAVE_RAW_DECL_FPURGE |
| 678 | _GL_WARN_ON_USE (fpurge, "fpurge is not always present - " | 670 | _GL_WARN_ON_USE (fpurge, "fpurge is not always present - " |
| 679 | "use gnulib module fpurge for portability"); | 671 | "use gnulib module fpurge for portability"); |
| @@ -761,7 +753,6 @@ _GL_CXXALIAS_SYS (freopen, FILE *, | |||
| 761 | _GL_CXXALIASWARN (freopen); | 753 | _GL_CXXALIASWARN (freopen); |
| 762 | # endif | 754 | # endif |
| 763 | #elif defined GNULIB_POSIXCHECK | 755 | #elif defined GNULIB_POSIXCHECK |
| 764 | # undef freopen | ||
| 765 | /* Assume freopen is always declared. */ | 756 | /* Assume freopen is always declared. */ |
| 766 | _GL_WARN_ON_USE (freopen, | 757 | _GL_WARN_ON_USE (freopen, |
| 767 | "freopen on native Windows platforms is not POSIX compliant - " | 758 | "freopen on native Windows platforms is not POSIX compliant - " |
| @@ -868,7 +859,6 @@ _GL_CXXALIASWARN (fseeko); | |||
| 868 | #elif defined GNULIB_POSIXCHECK | 859 | #elif defined GNULIB_POSIXCHECK |
| 869 | # define _GL_FSEEK_WARN /* Category 1, above. */ | 860 | # define _GL_FSEEK_WARN /* Category 1, above. */ |
| 870 | # undef fseek | 861 | # undef fseek |
| 871 | # undef fseeko | ||
| 872 | # if HAVE_RAW_DECL_FSEEKO | 862 | # if HAVE_RAW_DECL_FSEEKO |
| 873 | _GL_WARN_ON_USE (fseeko, "fseeko is unportable - " | 863 | _GL_WARN_ON_USE (fseeko, "fseeko is unportable - " |
| 874 | "use gnulib module fseeko for portability"); | 864 | "use gnulib module fseeko for portability"); |
| @@ -932,7 +922,6 @@ _GL_CXXALIASWARN (ftello); | |||
| 932 | #elif defined GNULIB_POSIXCHECK | 922 | #elif defined GNULIB_POSIXCHECK |
| 933 | # define _GL_FTELL_WARN /* Category 1, above. */ | 923 | # define _GL_FTELL_WARN /* Category 1, above. */ |
| 934 | # undef ftell | 924 | # undef ftell |
| 935 | # undef ftello | ||
| 936 | # if HAVE_RAW_DECL_FTELLO | 925 | # if HAVE_RAW_DECL_FTELLO |
| 937 | _GL_WARN_ON_USE (ftello, "ftello is unportable - " | 926 | _GL_WARN_ON_USE (ftello, "ftello is unportable - " |
| 938 | "use gnulib module ftello for portability"); | 927 | "use gnulib module ftello for portability"); |
| @@ -1081,7 +1070,6 @@ _GL_CXXALIAS_SYS (getdelim, ssize_t, | |||
| 1081 | _GL_CXXALIASWARN (getdelim); | 1070 | _GL_CXXALIASWARN (getdelim); |
| 1082 | # endif | 1071 | # endif |
| 1083 | #elif defined GNULIB_POSIXCHECK | 1072 | #elif defined GNULIB_POSIXCHECK |
| 1084 | # undef getdelim | ||
| 1085 | # if HAVE_RAW_DECL_GETDELIM | 1073 | # if HAVE_RAW_DECL_GETDELIM |
| 1086 | _GL_WARN_ON_USE (getdelim, "getdelim is unportable - " | 1074 | _GL_WARN_ON_USE (getdelim, "getdelim is unportable - " |
| 1087 | "use gnulib module getdelim for portability"); | 1075 | "use gnulib module getdelim for portability"); |
| @@ -1135,7 +1123,6 @@ _GL_CXXALIAS_SYS (getline, ssize_t, | |||
| 1135 | _GL_CXXALIASWARN (getline); | 1123 | _GL_CXXALIASWARN (getline); |
| 1136 | # endif | 1124 | # endif |
| 1137 | #elif defined GNULIB_POSIXCHECK | 1125 | #elif defined GNULIB_POSIXCHECK |
| 1138 | # undef getline | ||
| 1139 | # if HAVE_RAW_DECL_GETLINE | 1126 | # if HAVE_RAW_DECL_GETLINE |
| 1140 | _GL_WARN_ON_USE (getline, "getline is unportable - " | 1127 | _GL_WARN_ON_USE (getline, "getline is unportable - " |
| 1141 | "use gnulib module getline for portability"); | 1128 | "use gnulib module getline for portability"); |
| @@ -1145,7 +1132,6 @@ _GL_WARN_ON_USE (getline, "getline is unportable - " | |||
| 1145 | /* It is very rare that the developer ever has full control of stdin, | 1132 | /* It is very rare that the developer ever has full control of stdin, |
| 1146 | so any use of gets warrants an unconditional warning; besides, C11 | 1133 | so any use of gets warrants an unconditional warning; besides, C11 |
| 1147 | removed it. */ | 1134 | removed it. */ |
| 1148 | #undef gets | ||
| 1149 | #if HAVE_RAW_DECL_GETS && !defined __cplusplus | 1135 | #if HAVE_RAW_DECL_GETS && !defined __cplusplus |
| 1150 | _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); | 1136 | _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); |
| 1151 | #endif | 1137 | #endif |
| @@ -1258,7 +1244,6 @@ _GL_FUNCDECL_SYS (pclose, int, (FILE *stream), _GL_ARG_NONNULL ((1))); | |||
| 1258 | _GL_CXXALIAS_SYS (pclose, int, (FILE *stream)); | 1244 | _GL_CXXALIAS_SYS (pclose, int, (FILE *stream)); |
| 1259 | _GL_CXXALIASWARN (pclose); | 1245 | _GL_CXXALIASWARN (pclose); |
| 1260 | #elif defined GNULIB_POSIXCHECK | 1246 | #elif defined GNULIB_POSIXCHECK |
| 1261 | # undef pclose | ||
| 1262 | # if HAVE_RAW_DECL_PCLOSE | 1247 | # if HAVE_RAW_DECL_PCLOSE |
| 1263 | _GL_WARN_ON_USE (pclose, "pclose is unportable - " | 1248 | _GL_WARN_ON_USE (pclose, "pclose is unportable - " |
| 1264 | "use gnulib module pclose for more portability"); | 1249 | "use gnulib module pclose for more portability"); |
| @@ -1282,7 +1267,6 @@ _GL_CXXALIAS_SYS (perror, void, (const char *string)); | |||
| 1282 | _GL_CXXALIASWARN (perror); | 1267 | _GL_CXXALIASWARN (perror); |
| 1283 | # endif | 1268 | # endif |
| 1284 | #elif defined GNULIB_POSIXCHECK | 1269 | #elif defined GNULIB_POSIXCHECK |
| 1285 | # undef perror | ||
| 1286 | /* Assume perror is always declared. */ | 1270 | /* Assume perror is always declared. */ |
| 1287 | _GL_WARN_ON_USE (perror, "perror is not always POSIX compliant - " | 1271 | _GL_WARN_ON_USE (perror, "perror is not always POSIX compliant - " |
| 1288 | "use gnulib module perror for portability"); | 1272 | "use gnulib module perror for portability"); |
| @@ -1319,7 +1303,6 @@ _GL_FUNCDECL_SYS (popen, FILE *, | |||
| 1319 | _GL_ATTRIBUTE_MALLOC); | 1303 | _GL_ATTRIBUTE_MALLOC); |
| 1320 | # endif | 1304 | # endif |
| 1321 | # if defined GNULIB_POSIXCHECK | 1305 | # if defined GNULIB_POSIXCHECK |
| 1322 | # undef popen | ||
| 1323 | # if HAVE_RAW_DECL_POPEN | 1306 | # if HAVE_RAW_DECL_POPEN |
| 1324 | _GL_WARN_ON_USE (popen, "popen is buggy on some platforms - " | 1307 | _GL_WARN_ON_USE (popen, "popen is buggy on some platforms - " |
| 1325 | "use gnulib module popen or pipe for more portability"); | 1308 | "use gnulib module popen or pipe for more portability"); |
| @@ -1392,9 +1375,6 @@ _GL_CXXALIASWARN (printf); | |||
| 1392 | # endif | 1375 | # endif |
| 1393 | #endif | 1376 | #endif |
| 1394 | #if !@GNULIB_PRINTF_POSIX@ && defined GNULIB_POSIXCHECK | 1377 | #if !@GNULIB_PRINTF_POSIX@ && defined GNULIB_POSIXCHECK |
| 1395 | # if !GNULIB_overrides_printf | ||
| 1396 | # undef printf | ||
| 1397 | # endif | ||
| 1398 | /* Assume printf is always declared. */ | 1378 | /* Assume printf is always declared. */ |
| 1399 | _GL_WARN_ON_USE (printf, "printf is not always POSIX compliant - " | 1379 | _GL_WARN_ON_USE (printf, "printf is not always POSIX compliant - " |
| 1400 | "use gnulib module printf-posix for portable " | 1380 | "use gnulib module printf-posix for portable " |
| @@ -1488,7 +1468,6 @@ _GL_CXXALIAS_SYS (remove, int, (const char *name)); | |||
| 1488 | _GL_CXXALIASWARN (remove); | 1468 | _GL_CXXALIASWARN (remove); |
| 1489 | # endif | 1469 | # endif |
| 1490 | #elif defined GNULIB_POSIXCHECK | 1470 | #elif defined GNULIB_POSIXCHECK |
| 1491 | # undef remove | ||
| 1492 | /* Assume remove is always declared. */ | 1471 | /* Assume remove is always declared. */ |
| 1493 | _GL_WARN_ON_USE (remove, "remove cannot handle directories on some platforms - " | 1472 | _GL_WARN_ON_USE (remove, "remove cannot handle directories on some platforms - " |
| 1494 | "use gnulib module remove for more portability"); | 1473 | "use gnulib module remove for more portability"); |
| @@ -1513,7 +1492,6 @@ _GL_CXXALIAS_SYS (rename, int, | |||
| 1513 | _GL_CXXALIASWARN (rename); | 1492 | _GL_CXXALIASWARN (rename); |
| 1514 | # endif | 1493 | # endif |
| 1515 | #elif defined GNULIB_POSIXCHECK | 1494 | #elif defined GNULIB_POSIXCHECK |
| 1516 | # undef rename | ||
| 1517 | /* Assume rename is always declared. */ | 1495 | /* Assume rename is always declared. */ |
| 1518 | _GL_WARN_ON_USE (rename, "rename is buggy on some platforms - " | 1496 | _GL_WARN_ON_USE (rename, "rename is buggy on some platforms - " |
| 1519 | "use gnulib module rename for more portability"); | 1497 | "use gnulib module rename for more portability"); |
| @@ -1541,7 +1519,6 @@ _GL_CXXALIAS_SYS (renameat, int, | |||
| 1541 | # endif | 1519 | # endif |
| 1542 | _GL_CXXALIASWARN (renameat); | 1520 | _GL_CXXALIASWARN (renameat); |
| 1543 | #elif defined GNULIB_POSIXCHECK | 1521 | #elif defined GNULIB_POSIXCHECK |
| 1544 | # undef renameat | ||
| 1545 | # if HAVE_RAW_DECL_RENAMEAT | 1522 | # if HAVE_RAW_DECL_RENAMEAT |
| 1546 | _GL_WARN_ON_USE (renameat, "renameat is not portable - " | 1523 | _GL_WARN_ON_USE (renameat, "renameat is not portable - " |
| 1547 | "use gnulib module renameat for portability"); | 1524 | "use gnulib module renameat for portability"); |
| @@ -1635,7 +1612,6 @@ _GL_CXXALIAS_SYS (snprintf, int, | |||
| 1635 | _GL_CXXALIASWARN (snprintf); | 1612 | _GL_CXXALIASWARN (snprintf); |
| 1636 | # endif | 1613 | # endif |
| 1637 | #elif defined GNULIB_POSIXCHECK | 1614 | #elif defined GNULIB_POSIXCHECK |
| 1638 | # undef snprintf | ||
| 1639 | # if HAVE_RAW_DECL_SNPRINTF | 1615 | # if HAVE_RAW_DECL_SNPRINTF |
| 1640 | _GL_WARN_ON_USE (snprintf, "snprintf is unportable - " | 1616 | _GL_WARN_ON_USE (snprintf, "snprintf is unportable - " |
| 1641 | "use gnulib module snprintf for portability"); | 1617 | "use gnulib module snprintf for portability"); |
| @@ -1691,7 +1667,6 @@ _GL_CXXALIAS_SYS (sprintf, int, | |||
| 1691 | _GL_CXXALIASWARN (sprintf); | 1667 | _GL_CXXALIASWARN (sprintf); |
| 1692 | # endif | 1668 | # endif |
| 1693 | #elif defined GNULIB_POSIXCHECK | 1669 | #elif defined GNULIB_POSIXCHECK |
| 1694 | # undef sprintf | ||
| 1695 | /* Assume sprintf is always declared. */ | 1670 | /* Assume sprintf is always declared. */ |
| 1696 | _GL_WARN_ON_USE (sprintf, "sprintf is not always POSIX compliant - " | 1671 | _GL_WARN_ON_USE (sprintf, "sprintf is not always POSIX compliant - " |
| 1697 | "use gnulib module sprintf-posix for portable " | 1672 | "use gnulib module sprintf-posix for portable " |
| @@ -1746,7 +1721,6 @@ _GL_FUNCDECL_SYS (tmpfile, FILE *, (void), | |||
| 1746 | _GL_ATTRIBUTE_MALLOC); | 1721 | _GL_ATTRIBUTE_MALLOC); |
| 1747 | # endif | 1722 | # endif |
| 1748 | # if defined GNULIB_POSIXCHECK | 1723 | # if defined GNULIB_POSIXCHECK |
| 1749 | # undef tmpfile | ||
| 1750 | # if HAVE_RAW_DECL_TMPFILE | 1724 | # if HAVE_RAW_DECL_TMPFILE |
| 1751 | _GL_WARN_ON_USE (tmpfile, "tmpfile is not usable on mingw - " | 1725 | _GL_WARN_ON_USE (tmpfile, "tmpfile is not usable on mingw - " |
| 1752 | "use gnulib module tmpfile for portability"); | 1726 | "use gnulib module tmpfile for portability"); |
| @@ -1880,7 +1854,6 @@ _GL_CXXALIAS_SYS_CAST (vdprintf, int, | |||
| 1880 | _GL_CXXALIASWARN (vdprintf); | 1854 | _GL_CXXALIASWARN (vdprintf); |
| 1881 | # endif | 1855 | # endif |
| 1882 | #elif defined GNULIB_POSIXCHECK | 1856 | #elif defined GNULIB_POSIXCHECK |
| 1883 | # undef vdprintf | ||
| 1884 | # if HAVE_RAW_DECL_VDPRINTF | 1857 | # if HAVE_RAW_DECL_VDPRINTF |
| 1885 | _GL_WARN_ON_USE (vdprintf, "vdprintf is unportable - " | 1858 | _GL_WARN_ON_USE (vdprintf, "vdprintf is unportable - " |
| 1886 | "use gnulib module vdprintf for portability"); | 1859 | "use gnulib module vdprintf for portability"); |
| @@ -1949,9 +1922,6 @@ _GL_CXXALIASWARN (vfprintf); | |||
| 1949 | # endif | 1922 | # endif |
| 1950 | #endif | 1923 | #endif |
| 1951 | #if !@GNULIB_VFPRINTF_POSIX@ && defined GNULIB_POSIXCHECK | 1924 | #if !@GNULIB_VFPRINTF_POSIX@ && defined GNULIB_POSIXCHECK |
| 1952 | # if !GNULIB_overrides_vfprintf | ||
| 1953 | # undef vfprintf | ||
| 1954 | # endif | ||
| 1955 | /* Assume vfprintf is always declared. */ | 1925 | /* Assume vfprintf is always declared. */ |
| 1956 | _GL_WARN_ON_USE (vfprintf, "vfprintf is not always POSIX compliant - " | 1926 | _GL_WARN_ON_USE (vfprintf, "vfprintf is not always POSIX compliant - " |
| 1957 | "use gnulib module vfprintf-posix for portable " | 1927 | "use gnulib module vfprintf-posix for portable " |
| @@ -2035,9 +2005,6 @@ _GL_CXXALIASWARN (vprintf); | |||
| 2035 | # endif | 2005 | # endif |
| 2036 | #endif | 2006 | #endif |
| 2037 | #if !@GNULIB_VPRINTF_POSIX@ && defined GNULIB_POSIXCHECK | 2007 | #if !@GNULIB_VPRINTF_POSIX@ && defined GNULIB_POSIXCHECK |
| 2038 | # if !GNULIB_overrides_vprintf | ||
| 2039 | # undef vprintf | ||
| 2040 | # endif | ||
| 2041 | /* Assume vprintf is always declared. */ | 2008 | /* Assume vprintf is always declared. */ |
| 2042 | _GL_WARN_ON_USE (vprintf, "vprintf is not always POSIX compliant - " | 2009 | _GL_WARN_ON_USE (vprintf, "vprintf is not always POSIX compliant - " |
| 2043 | "use gnulib module vprintf-posix for portable " | 2010 | "use gnulib module vprintf-posix for portable " |
| @@ -2116,7 +2083,6 @@ _GL_CXXALIAS_SYS (vsnprintf, int, | |||
| 2116 | _GL_CXXALIASWARN (vsnprintf); | 2083 | _GL_CXXALIASWARN (vsnprintf); |
| 2117 | # endif | 2084 | # endif |
| 2118 | #elif defined GNULIB_POSIXCHECK | 2085 | #elif defined GNULIB_POSIXCHECK |
| 2119 | # undef vsnprintf | ||
| 2120 | # if HAVE_RAW_DECL_VSNPRINTF | 2086 | # if HAVE_RAW_DECL_VSNPRINTF |
| 2121 | _GL_WARN_ON_USE (vsnprintf, "vsnprintf is unportable - " | 2087 | _GL_WARN_ON_USE (vsnprintf, "vsnprintf is unportable - " |
| 2122 | "use gnulib module vsnprintf for portability"); | 2088 | "use gnulib module vsnprintf for portability"); |
| @@ -2169,7 +2135,6 @@ _GL_CXXALIAS_SYS_CAST (vsprintf, int, | |||
| 2169 | _GL_CXXALIASWARN (vsprintf); | 2135 | _GL_CXXALIASWARN (vsprintf); |
| 2170 | # endif | 2136 | # endif |
| 2171 | #elif defined GNULIB_POSIXCHECK | 2137 | #elif defined GNULIB_POSIXCHECK |
| 2172 | # undef vsprintf | ||
| 2173 | /* Assume vsprintf is always declared. */ | 2138 | /* Assume vsprintf is always declared. */ |
| 2174 | _GL_WARN_ON_USE (vsprintf, "vsprintf is not always POSIX compliant - " | 2139 | _GL_WARN_ON_USE (vsprintf, "vsprintf is not always POSIX compliant - " |
| 2175 | "use gnulib module vsprintf-posix for portable " | 2140 | "use gnulib module vsprintf-posix for portable " |