From: Bruno Haible Date: Sun, 6 Jun 2021 23:19:05 +0000 (+0200) Subject: Fix comments. X-Git-Tag: v1.0~2844 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=11d8c3e2a2ed6d91514840943122f2aef8c31384;p=gnulib.git Fix comments. --- diff --git a/lib/string.in.h b/lib/string.in.h index 9dc5dc21e9..cb964bc8d1 100644 --- a/lib/string.in.h +++ b/lib/string.in.h @@ -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 diff --git a/lib/unistd.in.h b/lib/unistd.in.h index 7ca5299747..35abbde7ae 100644 --- a/lib/unistd.in.h +++ b/lib/unistd.in.h @@ -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