[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-439
From: |
Andrew J. Schorr |
Subject: |
[gawk-diffs] [SCM] gawk branch, gawk-4.1-stable, updated. gawk-4.1.0-439-g2072cca |
Date: |
Tue, 30 Sep 2014 13:56:16 +0000 |
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 2072cca806ac43a5ee0d422749e9e0c5f7611d47 (commit)
from 67676f7332c2fa2ab6eb4411993fa77e92df5828 (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=2072cca806ac43a5ee0d422749e9e0c5f7611d47
commit 2072cca806ac43a5ee0d422749e9e0c5f7611d47
Author: Andrew J. Schorr <address@hidden>
Date: Tue Sep 30 09:55:51 2014 -0400
Fix minor bug: the "-h" option should not require an argument.
diff --git a/ChangeLog b/ChangeLog
index e0940b6..8b0f9a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2014-09-29 Andrew J. Schorr <address@hidden>
+
+ * main.c (main): In optlist, it should say "h", not "h:", since there
+ is no argument for the help option. Thanks to Joep van Delft for
+ the bug report.
+
2014-09-29 Arnold D. Robbins <address@hidden>
* gawkapi.h: Minor edits to sync with documentation. Does not
diff --git a/main.c b/main.c
index 645a456..03decbb 100644
--- a/main.c
+++ b/main.c
@@ -212,7 +212,7 @@ main(int argc, char **argv)
/*
* The + on the front tells GNU getopt not to rearrange argv.
*/
- const char *optlist = "+F:f:v:W;bcCd::D::e:E:gh:i:l:L:nNo::Op::MPrStVY";
+ const char *optlist = "+F:f:v:W;bcCd::D::e:E:ghi:l:L:nNo::Op::MPrStVY";
bool stopped_early = false;
int old_optind;
int i;
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
main.c | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
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-439-g2072cca,
Andrew J. Schorr <=