home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 2 / FFMCD02.bin / useful / dist / gnu / grep / grep-2.0.diffs next >
Encoding:
Text File  |  1993-09-24  |  675 b   |  24 lines

  1. diff -rc grep-2.0-fsf/dfa.h grep-2.0-amiga/dfa.h
  2. *** grep-2.0-fsf/dfa.h    Sun Apr 11 21:17:22 1993
  3. --- grep-2.0-amiga/dfa.h    Mon Aug 30 10:32:08 1993
  4. ***************
  5. *** 23,35 ****
  6. --- 23,39 ----
  7.      name space. */
  8.   
  9.   /* Number of bits in an unsigned char. */
  10. + #ifndef CHARBITS
  11.   #define CHARBITS 8
  12. + #endif
  13.   
  14.   /* First integer value that is greater than any character code. */
  15.   #define NOTCHAR (1 << CHARBITS)
  16.   
  17.   /* INTBITS need not be exact, just a lower bound. */
  18. + #ifndef INTBITS
  19.   #define INTBITS (CHARBITS * sizeof (int))
  20. + #endif
  21.   
  22.   /* Number of ints required to hold a bit for every character. */
  23.   #define CHARCLASS_INTS ((NOTCHAR + INTBITS - 1) / INTBITS)
  24.