[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-2844-g62f533
From: |
John Malmberg |
Subject: |
[gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-2844-g62f533c |
Date: |
Tue, 7 Nov 2017 20:51:28 -0500 (EST) |
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 62f533cb6158598268cb2d791014277864eead23 (commit)
from 6f773a78fff93fa819cc68758b9ceba31858d7b8 (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=62f533cb6158598268cb2d791014277864eead23
commit 62f533cb6158598268cb2d791014277864eead23
Author: John Malmberg <address@hidden>
Date: Tue Nov 7 19:46:48 2017 -0600
Remove varargs.h support from missing_d/snprintf.c
diff --git a/missing_d/ChangeLog b/missing_d/ChangeLog
old mode 100644
new mode 100755
index f430027..8043677
--- a/missing_d/ChangeLog
+++ b/missing_d/ChangeLog
@@ -1,3 +1,7 @@
+2017-11-07 John E. Malmberg <address@hidden>
+
+ * Remove varargs.h usage in snprintf.c
+
2017-10-19 Arnold D. Robbins <address@hidden>
* 4.2.0: Release tar ball made.
diff --git a/missing_d/snprintf.c b/missing_d/snprintf.c
index 9d692d5..53b75f6 100644
--- a/missing_d/snprintf.c
+++ b/missing_d/snprintf.c
@@ -174,28 +174,12 @@ vsnprintf (char *restrict buf, size_t len,
}
int
-#if defined(HAVE_STDARG_H) && defined(__STDC__) && __STDC__
snprintf (char *restrict buf, size_t len, const char *restrict fmt, ...)
-#else
-snprintf (va_alist)
- va_dcl
-#endif
{
int rv;
va_list args;
-#if defined(HAVE_STDARG_H) && defined(__STDC__) && __STDC__
va_start (args, fmt);
-#else
- char *buf;
- size_t len;
- char *fmt;
-
- va_start (args);
- buf = va_arg (args, char *);
- len = va_arg (args, size_t);
- fmt = va_arg (args, char *);
-#endif
rv = vsnprintf (buf, len, fmt, args);
va_end (args);
return rv;
-----------------------------------------------------------------------
Summary of changes:
missing_d/ChangeLog | 4 ++++
missing_d/snprintf.c | 16 ----------------
2 files changed, 4 insertions(+), 16 deletions(-)
mode change 100644 => 100755 missing_d/ChangeLog
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-2844-g62f533c,
John Malmberg <=