]> Savannah Git Hosting - gnulib.git/commitdiff
Fix comments.
authorBruno Haible <bruno@clisp.org>
Sun, 6 Jun 2021 23:19:05 +0000 (01:19 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 6 Jun 2021 23:19:33 +0000 (01:19 +0200)
lib/string.in.h
lib/unistd.in.h

index 9dc5dc21e94c9c3fc1bab910be50515b84e670c2..cb964bc8d1cf35558d44a495210c3d13edad2e6a 100644 (file)
@@ -446,7 +446,7 @@ _GL_WARN_ON_USE (strdup, "strdup is unportable - "
 #elif @GNULIB_MDA_STRDUP@
 /* On native Windows, map 'creat' to '_creat', so that -loldnames is not
    required.  In C++ with GNULIB_NAMESPACE, avoid differences between
-   platforms by defining GNULIB_NAMESPACE::creat always.  */
+   platforms by defining GNULIB_NAMESPACE::strdup always.  */
 # if defined _WIN32 && !defined __CYGWIN__
 #  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
 #   undef strdup
index 7ca5299747e43b8e271db91954708fb15c0a15d7..35abbde7aecc7ea0ffd57c9c61fd2e527568b30e 100644 (file)
@@ -2027,7 +2027,7 @@ _GL_WARN_ON_USE (sleep, "sleep is unportable - "
 #if @GNULIB_MDA_SWAB@
 /* On native Windows, map 'swab' to '_swab', so that -loldnames is not
    required.  In C++ with GNULIB_NAMESPACE, avoid differences between
-   platforms by defining GNULIB_NAMESPACE::creat always.  */
+   platforms by defining GNULIB_NAMESPACE::swab always.  */
 # if defined _WIN32 && !defined __CYGWIN__
 #  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
 #   undef swab