[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gawk-diffs] [SCM] gawk branch, gawk-4.1-stable, updated. gawk-4.1.0-883
From: |
Eli Zaretskii |
Subject: |
[gawk-diffs] [SCM] gawk branch, gawk-4.1-stable, updated. gawk-4.1.0-883-g7458e69 |
Date: |
Thu, 12 May 2016 07:35:19 +0000 (UTC) |
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, gawk-4.1-stable has been updated
via 7458e696b5563f64e4da81ae95f88c7f36896ab8 (commit)
from a6df7afc605079df7d85318846a522ef64aaa44d (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=7458e696b5563f64e4da81ae95f88c7f36896ab8
commit 7458e696b5563f64e4da81ae95f88c7f36896ab8
Author: Eli Zaretskii <address@hidden>
Date: Thu May 12 10:34:32 2016 +0300
Fix compilation warnings in MinGW builds.
diff --git a/ChangeLog b/ChangeLog
index 8e9ef89..5b99d92 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-05-12 Eli Zaretskii <address@hidden>
+
+ * nonposix.h: Add prototypes for Posix functions emulated in pc/*
+ files.
+
2016-05-03 Andrew J. Schorr <address@hidden>
* builtin.c (format_tree): After the string has been rendered, use
diff --git a/nonposix.h b/nonposix.h
index 976e0b7..744914b 100644
--- a/nonposix.h
+++ b/nonposix.h
@@ -43,4 +43,22 @@
int w32_status_to_termsig (unsigned);
+/* Prototypes of for Posix functions for which we define replacements
+ in pc/ files. */
+
+/* getid.c */
+unsigned int getuid (void);
+unsigned int geteuid (void);
+unsigned int getgid (void);
+unsigned int getegid (void);
+
+/* gawkmisc.pc */
+int unsetenv (const char *);
+int setenv (const char *, const char *, int);
+#endif /* __MINGW32__ */
+
+int getpgrp(void);
+
+#if defined(__DJGPP__) || defined(__MINGW32__)
+int getppid(void);
#endif
diff --git a/pc/ChangeLog b/pc/ChangeLog
index 56417a7..c46f874 100644
--- a/pc/ChangeLog
+++ b/pc/ChangeLog
@@ -1,3 +1,7 @@
+2016-05-12 Eli Zaretskii <address@hidden>
+
+ * Makefile ($(ALLOBJS) $(LIBOBJS)): Depend on nonposix.h.
+
2016-04-23 Eli Zaretskii <address@hidden>
* Makefile.tst (pty1): Ignore errors (happens with MinGW).
diff --git a/pc/Makefile b/pc/Makefile
index 23b9046..57c0dc4 100644
--- a/pc/Makefile
+++ b/pc/Makefile
@@ -242,7 +242,7 @@ $(RSPFILE) : $(GAWKOBJS)
# included by awk.h.
# 2. custom.h is not mentioned because pc ports don't use it.
$(ALLOBJS) $(LIBOBJS): \
- awk.h regex.h config.h gettext.h mbsupport.h protos.h dfa.h getopt.h
+ awk.h regex.h config.h gettext.h mbsupport.h protos.h dfa.h getopt.h
nonposix.h
builtin$O: floatmagic.h random.h popen.h
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
nonposix.h | 18 ++++++++++++++++++
pc/ChangeLog | 4 ++++
pc/Makefile | 2 +-
4 files changed, 28 insertions(+), 1 deletion(-)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, gawk-4.1-stable, updated. gawk-4.1.0-883-g7458e69,
Eli Zaretskii <=