gawk-diffs
[Top][All Lists]
Advanced

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

[gawk-diffs] [SCM] gawk branch, feature/api-parser, updated. gawk-4.1.0-


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, feature/api-parser, updated. gawk-4.1.0-2464-geab8c54
Date: Thu, 23 Mar 2017 15:24:41 -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, feature/api-parser has been updated
       via  eab8c54a43c4f1e7827b28f0e4e0e3b2d6643b97 (commit)
      from  1bb38a7e6f81712d8ca8b59922abb176a735dd1f (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=eab8c54a43c4f1e7827b28f0e4e0e3b2d6643b97

commit eab8c54a43c4f1e7827b28f0e4e0e3b2d6643b97
Author: Arnold D. Robbins <address@hidden>
Date:   Thu Mar 23 21:24:27 2017 +0200

    Fix compile warnings in some of the extensions.

diff --git a/extension/ChangeLog b/extension/ChangeLog
index 7aeb8aa..2773847 100644
--- a/extension/ChangeLog
+++ b/extension/ChangeLog
@@ -1,3 +1,10 @@
+2017-03-23         Arnold D. Robbins     <address@hidden>
+
+       * readdir.c (dir_get_record): Add additional parameter to make types
+       match and remove compiler warning.
+       * readfile.c (readfile_get_record): Ditto.
+       * revtwoway.c (rev2way_get_record): Ditto.
+
 2017-03-21         Andrew J. Schorr     <address@hidden>
 
        * readdir_test.c (open_directory_t): Replace field_width array
diff --git a/extension/readdir.c b/extension/readdir.c
index 39acba6..b871d13 100644
--- a/extension/readdir.c
+++ b/extension/readdir.c
@@ -168,7 +168,8 @@ get_inode(struct dirent *entry, const char *dirname)
 
 static int
 dir_get_record(char **out, awk_input_buf_t *iobuf, int *errcode,
-               char **rt_start, size_t *rt_len)
+               char **rt_start, size_t *rt_len,
+               const awk_fieldwidth_info_t **unused)
 {
        DIR *dp;
        struct dirent *dirent;
diff --git a/extension/readfile.c b/extension/readfile.c
index b453da2..fb1a376 100644
--- a/extension/readfile.c
+++ b/extension/readfile.c
@@ -142,7 +142,8 @@ done:
 
 static int
 readfile_get_record(char **out, awk_input_buf_t *iobuf, int *errcode,
-                       char **rt_start, size_t *rt_len)
+                       char **rt_start, size_t *rt_len,
+                       const awk_fieldwidth_info_t **unused)
 {
        char *text;
 
diff --git a/extension/revtwoway.c b/extension/revtwoway.c
index ac4e22c..84989bf 100644
--- a/extension/revtwoway.c
+++ b/extension/revtwoway.c
@@ -133,7 +133,8 @@ close_two_proc_data(two_way_proc_data_t *proc_data)
 
 static int
 rev2way_get_record(char **out, awk_input_buf_t *iobuf, int *errcode,
-               char **rt_start, size_t *rt_len)
+               char **rt_start, size_t *rt_len,
+               const awk_fieldwidth_info_t **unused)
 {
        int len = 0;    /* for now */
        two_way_proc_data_t *proc_data;

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

Summary of changes:
 extension/ChangeLog   | 7 +++++++
 extension/readdir.c   | 3 ++-
 extension/readfile.c  | 3 ++-
 extension/revtwoway.c | 3 ++-
 4 files changed, 13 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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