Changeset 606 for trunk/src/sed/lib
- Timestamp:
 - Nov 26, 2006, 2:58:42 AM (19 years ago)
 - Location:
 - trunk/src/sed/lib
 - Files:
 - 
      
- 3 edited
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/src/sed/lib/regcomp.c
r599 r606 561 561 static const bitset_t utf8_sb_map = 562 562 { 563 /* Set the first 128 bits. */ 563 /* Set the first 128 bits. */ 564 #ifdef _MSC_VER 565 BITSET_WORD_MAX, BITSET_WORD_MAX, BITSET_WORD_MAX, BITSET_WORD_MAX, 0, 0, 0, 0 566 #else 564 567 [0 ... 0x80 / BITSET_WORD_BITS - 1] = BITSET_WORD_MAX 568 #endif 565 569 }; 566 570 #endif  - 
      
trunk/src/sed/lib/regex_internal.h
r604 r606 92 92 #else 93 93 # define BE(expr, val) (expr) 94 # define inline 94 # ifndef inline /* bird: silly since the rest of sed depends on this working.. */ 95 # define inline 96 # endif 95 97 #endif 96 98 … … 413 415 #define re_string_set_index(pstr,idx) ((pstr)->cur_idx = (idx)) 414 416 415 #include <alloca.h> 417 #if HAVE_ALLOCA_H 418 # include <alloca.h> 419 #elif HAVE_MALLOC_H 420 # include <malloc.h> 421 #endif 416 422 417 423 #ifndef _LIBC  - 
      
trunk/src/sed/lib/regexec.c
r599 r606 2899 2899 } 2900 2900 2901 #ifdef __GNUC__ /* silly buggers. */ 2901 2902 str_idx = path->next_idx ?: top_str; 2903 #else 2904 str_idx = path->next_idx ? path->next_idx : top_str; 2905 #endif 2902 2906 2903 2907 /* Temporary modify MCTX. */  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  