This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.29.9000-19-g11f382e


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 C Library master sources".

The branch, master has been updated
       via  11f382ee780649549428cb25af3a9f1d3465868d (commit)
      from  77c7d55ece0caaa39652e05158e18d8a9b4f6fbe (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://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=11f382ee780649549428cb25af3a9f1d3465868d

commit 11f382ee780649549428cb25af3a9f1d3465868d
Author: Aurelien Jarno <aurelien@aurel32.net>
Date:   Tue Jan 8 21:10:28 2019 +0100

    testsuite: stdlib/isomac.c: add missing include
    
    When running the testsuite, building stdlib/isomac.c outputs the
    following warning:
    
      gcc -O   -D_GNU_SOURCE -DIS_IN_build -include /home/aurel32/glibc-build/config.h isomac.c -o /home/aurel32/glibc-build/stdlib/isomac
      isomac.c: In function â??get_null_definesâ??:
      isomac.c:260:3: warning: implicit declaration of function â??closeâ??; did you mean â??pcloseâ??? [-Wimplicit-function-declaration]
         close (fd);
         ^~~~~
         pclose
    
    Fix that by adding the <unistd.h> include.
    
    Changelog:
    	* stdlib/isomac.c: Include <unistd.h>.

diff --git a/ChangeLog b/ChangeLog
index 628aaef..8260429 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2019-02-03  Aurelien Jarno  <aurelien@aurel32.net>
+
+	* stdlib/isomac.c: Include <unistd.h>.
+
 2019-02-03  Florian Weimer  <fweimer@redhat.com>
 
 	* include/time.h (__tzfile_default): Use int, not long int, for
diff --git a/stdlib/isomac.c b/stdlib/isomac.c
index 37f564c..7d743cb 100644
--- a/stdlib/isomac.c
+++ b/stdlib/isomac.c
@@ -74,6 +74,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <unistd.h>
 
 #define HEADER_MAX          256
 

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

Summary of changes:
 ChangeLog       |    4 ++++
 stdlib/isomac.c |    1 +
 2 files changed, 5 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]