grep-commit
[Top][All Lists]
Advanced

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

grep branch, master, updated. v2.18-134-g39bae8f


From: Paul Eggert
Subject: grep branch, master, updated. v2.18-134-g39bae8f
Date: Fri, 09 May 2014 00:30:25 +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  39bae8f8947adc0bd7f8e6b82177330d6c423320 (commit)
       via  b6fc128a95b365df9c302358114a422e05ef91c0 (commit)
       via  d20657bda94d3f45a5c088e3001307ac575c00f6 (commit)
      from  a2f2972af6ef5ca87c53f7dcd0e6524f7b0a773c (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=39bae8f8947adc0bd7f8e6b82177330d6c423320


commit 39bae8f8947adc0bd7f8e6b82177330d6c423320
Author: Paul Eggert <address@hidden>
Date:   Thu May 8 17:27:40 2014 -0700

    dfa: assume C89 for CHAR_BIT
    
    * src/dfa.c (CHARBITS): Remove.  All uses replaced by CHAR_BIT.
    (NOTCHAR): Now an enum, since it need not be a macro.

diff --git a/src/dfa.c b/src/dfa.c
index 7704d5e..fc6ce72 100644
--- a/src/dfa.c
+++ b/src/dfa.c
@@ -62,13 +62,8 @@
 # undef clrbit
 #endif
 
-/* Number of bits in an unsigned char.  */
-#ifndef CHARBITS
-# define CHARBITS 8
-#endif
-
 /* First integer value that is greater than any character code.  */
-#define NOTCHAR (1 << CHARBITS)
+enum { NOTCHAR = 1 << CHAR_BIT };
 
 /* This represents part of a character class.  It must be unsigned and
    at least CHARCLASS_WORD_BITS wide.  Any excess bits are zero.  */

http://git.savannah.gnu.org/cgit/grep.git/commit/?id=b6fc128a95b365df9c302358114a422e05ef91c0


commit 39bae8f8947adc0bd7f8e6b82177330d6c423320
Author: Paul Eggert <address@hidden>
Date:   Thu May 8 17:27:40 2014 -0700

    dfa: assume C89 for CHAR_BIT
    
    * src/dfa.c (CHARBITS): Remove.  All uses replaced by CHAR_BIT.
    (NOTCHAR): Now an enum, since it need not be a macro.

diff --git a/src/dfa.c b/src/dfa.c
index 7704d5e..fc6ce72 100644
--- a/src/dfa.c
+++ b/src/dfa.c
@@ -62,13 +62,8 @@
 # undef clrbit
 #endif
 
-/* Number of bits in an unsigned char.  */
-#ifndef CHARBITS
-# define CHARBITS 8
-#endif
-
 /* First integer value that is greater than any character code.  */
-#define NOTCHAR (1 << CHARBITS)
+enum { NOTCHAR = 1 << CHAR_BIT };
 
 /* This represents part of a character class.  It must be unsigned and
    at least CHARCLASS_WORD_BITS wide.  Any excess bits are zero.  */

http://git.savannah.gnu.org/cgit/grep.git/commit/?id=d20657bda94d3f45a5c088e3001307ac575c00f6


commit 39bae8f8947adc0bd7f8e6b82177330d6c423320
Author: Paul Eggert <address@hidden>
Date:   Thu May 8 17:27:40 2014 -0700

    dfa: assume C89 for CHAR_BIT
    
    * src/dfa.c (CHARBITS): Remove.  All uses replaced by CHAR_BIT.
    (NOTCHAR): Now an enum, since it need not be a macro.

diff --git a/src/dfa.c b/src/dfa.c
index 7704d5e..fc6ce72 100644
--- a/src/dfa.c
+++ b/src/dfa.c
@@ -62,13 +62,8 @@
 # undef clrbit
 #endif
 
-/* Number of bits in an unsigned char.  */
-#ifndef CHARBITS
-# define CHARBITS 8
-#endif
-
 /* First integer value that is greater than any character code.  */
-#define NOTCHAR (1 << CHARBITS)
+enum { NOTCHAR = 1 << CHAR_BIT };
 
 /* This represents part of a character class.  It must be unsigned and
    at least CHARCLASS_WORD_BITS wide.  Any excess bits are zero.  */

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

Summary of changes:
 src/dfa.c |  118 ++++++++++++++++++++++++++++++++++--------------------------
 1 files changed, 67 insertions(+), 51 deletions(-)


hooks/post-receive
-- 
grep



reply via email to

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