[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gawk-diffs] [SCM] gawk branch, feature/zOS, updated. gawk-4.1.0-726-g28
From: |
Arnold Robbins |
Subject: |
[gawk-diffs] [SCM] gawk branch, feature/zOS, updated. gawk-4.1.0-726-g2833581 |
Date: |
Sun, 12 Jul 2015 19:09:18 +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, feature/zOS has been updated
via 283358128d0df79b543456789502ab103d51dea3 (commit)
from 002790d66b50284baf6ca9fd737118ffe60528a1 (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=283358128d0df79b543456789502ab103d51dea3
commit 283358128d0df79b543456789502ab103d51dea3
Author: Arnold D. Robbins <address@hidden>
Date: Sun Jul 12 22:08:52 2015 +0300
Fix pwcat and grcat for cases where don't have the password field.
diff --git a/awklib/eg/lib/grcat.c b/awklib/eg/lib/grcat.c
index 6d7791d..cf39083 100644
--- a/awklib/eg/lib/grcat.c
+++ b/awklib/eg/lib/grcat.c
@@ -35,7 +35,7 @@ main(int argc, char **argv)
printf("%s:%s:%ld:", g->gr_name, g->gr_passwd,
(long) g->gr_gid);
#else
- printf("%s:%ld:", g->gr_name, (long) g->gr_gid);
+ printf("%s:*:%ld:", g->gr_name, (long) g->gr_gid);
#endif
for (i = 0; g->gr_mem[i] != NULL; i++) {
printf("%s", g->gr_mem[i]);
diff --git a/awklib/eg/lib/pwcat.c b/awklib/eg/lib/pwcat.c
index caabf20..cfe250c 100644
--- a/awklib/eg/lib/pwcat.c
+++ b/awklib/eg/lib/pwcat.c
@@ -31,7 +31,7 @@ main(int argc, char **argv)
p->pw_name, p->pw_passwd, (long) p->pw_uid,
(long) p->pw_gid, p->pw_gecos, p->pw_dir, p->pw_shell);
#else
- printf("%s:%ld:%ld:%s:%s\n",
+ printf("%s:*:%ld:%ld:%s:%s\n",
p->pw_name, (long) p->pw_uid,
(long) p->pw_gid, p->pw_dir, p->pw_shell);
#endif
diff --git a/doc/gawk.texi b/doc/gawk.texi
index 9f596ed..fde01a1 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -22316,7 +22316,7 @@ main(int argc, char **argv)
@ignore
@c file eg/lib/pwcat.c
#else
- printf("%s:%ld:%ld:%s:%s\n",
+ printf("%s:*:%ld:%ld:%s:%s\n",
p->pw_name, (long) p->pw_uid,
(long) p->pw_gid, p->pw_dir, p->pw_shell);
#endif
@@ -22648,7 +22648,7 @@ main(int argc, char **argv)
@ignore
@c file eg/lib/grcat.c
#else
- printf("%s:%ld:", g->gr_name, (long) g->gr_gid);
+ printf("%s:*:%ld:", g->gr_name, (long) g->gr_gid);
#endif
@c endfile
@end ignore
diff --git a/doc/gawktexi.in b/doc/gawktexi.in
index c087a42..89b95f1 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -21407,7 +21407,7 @@ main(int argc, char **argv)
@ignore
@c file eg/lib/pwcat.c
#else
- printf("%s:%ld:%ld:%s:%s\n",
+ printf("%s:*:%ld:%ld:%s:%s\n",
p->pw_name, (long) p->pw_uid,
(long) p->pw_gid, p->pw_dir, p->pw_shell);
#endif
@@ -21739,7 +21739,7 @@ main(int argc, char **argv)
@ignore
@c file eg/lib/grcat.c
#else
- printf("%s:%ld:", g->gr_name, (long) g->gr_gid);
+ printf("%s:*:%ld:", g->gr_name, (long) g->gr_gid);
#endif
@c endfile
@end ignore
-----------------------------------------------------------------------
Summary of changes:
awklib/eg/lib/grcat.c | 2 +-
awklib/eg/lib/pwcat.c | 2 +-
doc/gawk.texi | 4 ++--
doc/gawktexi.in | 4 ++--
4 files changed, 6 insertions(+), 6 deletions(-)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, feature/zOS, updated. gawk-4.1.0-726-g2833581,
Arnold Robbins <=