diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2022-09-14 12:50:23 +0200 |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2022-09-14 12:50:23 +0200 |
commit | 1909de2e843f1dfd5e031d3d4aa6901a5b9a139d (patch) | |
tree | 8f33ed557df0957c028de952d06763346ac4acea /gl/sys/stat.h | |
parent | 5da988e07a96ff154db040befb5472f0dc784a17 (diff) | |
download | monitoring-plugins-1909de2.tar.gz |
Add Gnulib module "crypto/sha256" and remote "crypto/sha1"
Diffstat (limited to 'gl/sys/stat.h')
-rw-r--r-- | gl/sys/stat.h | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/gl/sys/stat.h b/gl/sys/stat.h index 81203838..68584420 100644 --- a/gl/sys/stat.h +++ b/gl/sys/stat.h | |||
@@ -1104,44 +1104,6 @@ _GL_WARN_ON_USE (lchmod, "lchmod is unportable - " | |||
1104 | 1104 | ||
1105 | 1105 | ||
1106 | #if 0 | 1106 | #if 0 |
1107 | # if ! 1 | ||
1108 | /* mingw does not support symlinks, therefore it does not have lstat. But | ||
1109 | without links, stat does just fine. */ | ||
1110 | # if !(defined __cplusplus && defined GNULIB_NAMESPACE) | ||
1111 | # define lstat stat | ||
1112 | # endif | ||
1113 | _GL_CXXALIAS_RPL_1 (lstat, stat, int, | ||
1114 | (const char *restrict name, struct stat *restrict buf)); | ||
1115 | # elif 0 | ||
1116 | # if !(defined __cplusplus && defined GNULIB_NAMESPACE) | ||
1117 | # undef lstat | ||
1118 | # define lstat rpl_lstat | ||
1119 | # endif | ||
1120 | _GL_FUNCDECL_RPL (lstat, int, | ||
1121 | (const char *restrict name, struct stat *restrict buf) | ||
1122 | _GL_ARG_NONNULL ((1, 2))); | ||
1123 | _GL_CXXALIAS_RPL (lstat, int, | ||
1124 | (const char *restrict name, struct stat *restrict buf)); | ||
1125 | # else | ||
1126 | _GL_CXXALIAS_SYS (lstat, int, | ||
1127 | (const char *restrict name, struct stat *restrict buf)); | ||
1128 | # endif | ||
1129 | # if 1 | ||
1130 | _GL_CXXALIASWARN (lstat); | ||
1131 | # endif | ||
1132 | #elif 0 | ||
1133 | # undef lstat | ||
1134 | # define lstat lstat_used_without_requesting_gnulib_module_lstat | ||
1135 | #elif defined GNULIB_POSIXCHECK | ||
1136 | # undef lstat | ||
1137 | # if HAVE_RAW_DECL_LSTAT | ||
1138 | _GL_WARN_ON_USE (lstat, "lstat is unportable - " | ||
1139 | "use gnulib module lstat for portability"); | ||
1140 | # endif | ||
1141 | #endif | ||
1142 | |||
1143 | |||
1144 | #if 0 | ||
1145 | # if 0 | 1107 | # if 0 |
1146 | # if !(defined __cplusplus && defined GNULIB_NAMESPACE) | 1108 | # if !(defined __cplusplus && defined GNULIB_NAMESPACE) |
1147 | # undef mkdir | 1109 | # undef mkdir |
@@ -1402,6 +1364,44 @@ _GL_WARN_ON_USE (stat, "stat is unportable - " | |||
1402 | #endif | 1364 | #endif |
1403 | 1365 | ||
1404 | 1366 | ||
1367 | #if 0 | ||
1368 | # if ! 1 | ||
1369 | /* mingw does not support symlinks, therefore it does not have lstat. But | ||
1370 | without links, stat does just fine. */ | ||
1371 | # if !(defined __cplusplus && defined GNULIB_NAMESPACE) | ||
1372 | # define lstat stat | ||
1373 | # endif | ||
1374 | _GL_CXXALIAS_RPL_1 (lstat, stat, int, | ||
1375 | (const char *restrict name, struct stat *restrict buf)); | ||
1376 | # elif 0 | ||
1377 | # if !(defined __cplusplus && defined GNULIB_NAMESPACE) | ||
1378 | # undef lstat | ||
1379 | # define lstat rpl_lstat | ||
1380 | # endif | ||
1381 | _GL_FUNCDECL_RPL (lstat, int, | ||
1382 | (const char *restrict name, struct stat *restrict buf) | ||
1383 | _GL_ARG_NONNULL ((1, 2))); | ||
1384 | _GL_CXXALIAS_RPL (lstat, int, | ||
1385 | (const char *restrict name, struct stat *restrict buf)); | ||
1386 | # else | ||
1387 | _GL_CXXALIAS_SYS (lstat, int, | ||
1388 | (const char *restrict name, struct stat *restrict buf)); | ||
1389 | # endif | ||
1390 | # if 1 | ||
1391 | _GL_CXXALIASWARN (lstat); | ||
1392 | # endif | ||
1393 | #elif 0 | ||
1394 | # undef lstat | ||
1395 | # define lstat lstat_used_without_requesting_gnulib_module_lstat | ||
1396 | #elif defined GNULIB_POSIXCHECK | ||
1397 | # undef lstat | ||
1398 | # if HAVE_RAW_DECL_LSTAT | ||
1399 | _GL_WARN_ON_USE (lstat, "lstat is unportable - " | ||
1400 | "use gnulib module lstat for portability"); | ||
1401 | # endif | ||
1402 | #endif | ||
1403 | |||
1404 | |||
1405 | #if 1 | 1405 | #if 1 |
1406 | /* On native Windows, map 'umask' to '_umask', so that -loldnames is not | 1406 | /* On native Windows, map 'umask' to '_umask', so that -loldnames is not |
1407 | required. In C++ with GNULIB_NAMESPACE, avoid differences between | 1407 | required. In C++ with GNULIB_NAMESPACE, avoid differences between |