bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

unistd: Fix portability warnings


From: Bruno Haible
Subject: unistd: Fix portability warnings
Date: Thu, 31 Dec 2020 22:07:51 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-197-generic; KDE/5.18.0; x86_64; ; )

This patch fixes some missing update from when the modules 'fchownat'
and 'unlinkat' were split off from module 'openat' in 2011.


2020-12-31  Bruno Haible  <bruno@clisp.org>

        unistd: Fix portability warnings.
        * lib/unistd.in.h (fchownat, unlinkat): Fix module name in warning.

diff --git a/lib/unistd.in.h b/lib/unistd.in.h
index d43556a..3f3b995 100644
--- a/lib/unistd.in.h
+++ b/lib/unistd.in.h
@@ -978,7 +978,7 @@ _GL_CXXALIASWARN (fchownat);
 # undef fchownat
 # if HAVE_RAW_DECL_FCHOWNAT
 _GL_WARN_ON_USE (fchownat, "fchownat is not portable - "
-                 "use gnulib module openat for portability");
+                 "use gnulib module fchownat for portability");
 # endif
 #endif
 
@@ -2219,7 +2219,7 @@ _GL_CXXALIASWARN (unlinkat);
 # undef unlinkat
 # if HAVE_RAW_DECL_UNLINKAT
 _GL_WARN_ON_USE (unlinkat, "unlinkat is not portable - "
-                 "use gnulib module openat for portability");
+                 "use gnulib module unlinkat for portability");
 # endif
 #endif
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]