commit-inetutils
[Top][All Lists]
Advanced

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

[SCM] GNU Inetutils branch, master, updated. inetutils-1_9_4-114-g73e0f


From: Mats Erik Andersson
Subject: [SCM] GNU Inetutils branch, master, updated. inetutils-1_9_4-114-g73e0fae
Date: Fri, 5 Jun 2020 07:09:57 -0400 (EDT)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Inetutils ".

The branch, master has been updated
       via  73e0faebc4c14e92cdc3f3fb070783b7cd5d2468 (commit)
      from  276e7dc49f700cc4b3fb6c31af19eefc22125ae1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=73e0faebc4c14e92cdc3f3fb070783b7cd5d2468


commit 73e0faebc4c14e92cdc3f3fb070783b7cd5d2468
Author: Mats Erik Andersson <gnu@gisladisker.se>
Date:   Fri Jun 5 12:14:58 2020 +0200

    Signature update in Gnulib module read-file.
    
    An incompatible change of read_file() affects only
    systems building for GNU/Linux.

diff --git a/ChangeLog b/ChangeLog
index d9f52a8..59f8473 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2020-06-05  Mats Erik Andersson  <gnu@gisladisker.se>
+
+       * ifconfig/system/linux.c (linux_if_nameindex): New, incompatible
+       signature of contemporary Gnulib function read_file().
+
 2020-05-10  Mats Erik Andersson  <gnu@gisladisker.se>
 
        * whois/data.h (hide_strings): Add Brazilian pattern.
diff --git a/ifconfig/system/linux.c b/ifconfig/system/linux.c
index 058374c..3446242 100644
--- a/ifconfig/system/linux.c
+++ b/ifconfig/system/linux.c
@@ -929,7 +929,8 @@ linux_if_nameindex (void)
   if (fd < 0)
     return NULL;
 
-  content = read_file (PATH_PROCNET_DEV, &length);
+  /* Read a public text file.  */
+  content = read_file (PATH_PROCNET_DEV, 0, &length);
   if (content == NULL)
     return NULL;
 

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog               | 5 +++++
 ifconfig/system/linux.c | 3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
GNU Inetutils 



reply via email to

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