gawk-diffs
[Top][All Lists]
Advanced

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

[gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-2756-g7bc973


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-2756-g7bc9735
Date: Wed, 30 Aug 2017 14:17:42 -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 "gawk".

The branch, master has been updated
       via  7bc973537c24b1a694147822385bf2f2e0908b27 (commit)
      from  396c2c1644b2f08b1a7725119f3615cc12bc33e7 (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.sv.gnu.org/cgit/gawk.git/commit/?id=7bc973537c24b1a694147822385bf2f2e0908b27

commit 7bc973537c24b1a694147822385bf2f2e0908b27
Author: Arnold D. Robbins <address@hidden>
Date:   Wed Aug 30 21:17:21 2017 +0300

    Add use of <sys/sysmacros.h> to extension/fnmatch.c.

diff --git a/extension/ChangeLog b/extension/ChangeLog
index 546006f..613479e 100644
--- a/extension/ChangeLog
+++ b/extension/ChangeLog
@@ -1,3 +1,9 @@
+2017-08-30         Arnold D. Robbins     <address@hidden>
+
+       * fnmatch.c: Use the right autoconf goop to get the major
+       and minor macros out of <sys/sysmacros.h>. Thanks to
+       David Kaspar <address@hidden> for the report.
+
 2017-08-21         Arnold D. Robbins     <address@hidden>
 
        * Makefile.am (ntdiv_la_LIBADD): Add -lm for Solaris systems,
diff --git a/extension/fnmatch.c b/extension/fnmatch.c
index 5382e4b..9b7640d 100644
--- a/extension/fnmatch.c
+++ b/extension/fnmatch.c
@@ -39,6 +39,12 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 
+#ifdef MAJOR_IN_MKDEV
+#include <sys/mkdev.h>
+#elif defined(MAJOR_IN_SYSMACROS)
+#include <sys/sysmacros.h>
+#endif
+
 #include "gawkapi.h"
 
 #include "gettext.h"

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

Summary of changes:
 extension/ChangeLog | 6 ++++++
 extension/fnmatch.c | 6 ++++++
 2 files changed, 12 insertions(+)


hooks/post-receive
-- 
gawk



reply via email to

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