grep-commit
[Top][All Lists]
Advanced

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

grep branch, master, updated. v2.6.3-32-g567b94d


From: Jim Meyering
Subject: grep branch, master, updated. v2.6.3-32-g567b94d
Date: Thu, 08 Apr 2010 08:09:50 +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 "grep".

The branch, master has been updated
       via  567b94d9c68c6f33215db925d25e3a442278a59c (commit)
      from  aa0d3a7b79caa4560cad21909385a800587c0ddf (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.savannah.gnu.org/cgit/grep.git/commit/?id=567b94d9c68c6f33215db925d25e3a442278a59c


commit 567b94d9c68c6f33215db925d25e3a442278a59c
Author: Jim Meyering <address@hidden>
Date:   Thu Apr 8 10:08:50 2010 +0200

    dfa: move definition of __attribute__ back into dfa.h
    
    * src/dfa.c (__attribute__): Move definition back to...
    * src/dfa.h: ... this file.  It is essential for non-gcc compilers.
    Reported by Arnold Robbins.

diff --git a/src/dfa.c b/src/dfa.c
index b165fed..92c9f68 100644
--- a/src/dfa.c
+++ b/src/dfa.c
@@ -84,10 +84,6 @@
 /* Number of ints required to hold a bit for every character. */
 #define CHARCLASS_INTS ((NOTCHAR + INTBITS - 1) / INTBITS)
 
-#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 6) || __STRICT_ANSI__
-# define __attribute__(x)
-#endif
-
 /* Sets of unsigned characters are stored as bit vectors in arrays of ints. */
 typedef int charclass[CHARCLASS_INTS];
 
diff --git a/src/dfa.h b/src/dfa.h
index 40bb1b1..c107930 100644
--- a/src/dfa.h
+++ b/src/dfa.h
@@ -18,6 +18,10 @@
 
 /* Written June, 1988 by Mike Haertel */
 
+#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 6) || __STRICT_ANSI__
+# define __attribute__(x)
+#endif
+
 /* Element of a list of strings, at least one of which is known to
    appear in any R.E. matching the DFA. */
 struct dfamust

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

Summary of changes:
 src/dfa.c |    4 ----
 src/dfa.h |    4 ++++
 2 files changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
grep




reply via email to

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