m4-commit
[Top][All Lists]
Advanced

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

[SCM] GNU M4 source repository branch, branch-1.6, updated. v1.5.89a-31-


From: Eric Blake
Subject: [SCM] GNU M4 source repository branch, branch-1.6, updated. v1.5.89a-31-gd9538da
Date: Thu, 19 Jun 2008 12:43:32 +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 "GNU M4 source repository".

http://git.sv.gnu.org/gitweb/?p=m4.git;a=commitdiff;h=d9538dab08563b00b7da9145ac6bda117c35100a

The branch, branch-1.6 has been updated
       via  d9538dab08563b00b7da9145ac6bda117c35100a (commit)
      from  f7f652750c6d3f38d98a39156ad21e96a6c1dfa5 (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 -----------------------------------------------------------------
commit d9538dab08563b00b7da9145ac6bda117c35100a
Author: Eric Blake <address@hidden>
Date:   Thu Jun 19 06:40:48 2008 -0600

    Avoid gcc extension.
    
    * src/builtin.c (m4_eval): Don't perform arithmetic on void*.
    
    Signed-off-by: Eric Blake <address@hidden>

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

Summary of changes:
 ChangeLog     |    5 +++++
 src/builtin.c |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 794d6d7..33220e5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-06-19  Eric Blake  <address@hidden>
+
+       Avoid gcc extension.
+       * src/builtin.c (m4_eval): Don't perform arithmetic on void*.
+
 2008-06-18  Eric Blake  <address@hidden>
 
        Revert speed regression from previous patch.
diff --git a/src/builtin.c b/src/builtin.c
index d64b567..aa108d4 100644
--- a/src/builtin.c
+++ b/src/builtin.c
@@ -1234,7 +1234,7 @@ m4_eval (struct obstack *obs, int argc, macro_arguments 
*argv)
     {
       min -= len;
       obstack_blank (obs, min);
-      memset (obstack_next_free (obs) - min, '0', min);
+      memset ((char *) obstack_next_free (obs) - min, '0', min);
     }
   obstack_grow (obs, s, len);
 }


hooks/post-receive
--
GNU M4 source repository




reply via email to

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