- Timestamp:
- Nov 26, 2006 1:58:42 AM (18 years ago)
- Location:
- trunk/src/sed
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sed/Makefile.kmk
r605 r606 33 33 lib/regex.c 34 34 ifeq ($(filter-out win32 win64 win nt,$(BUILD_TARGET)),) 35 kmk_SOURCES += 35 kmk_sed_SOURCES += \ 36 lib/strverscmp.c \ 37 lib/obstack.c \ 38 lib/mkstemp.c \ 39 lib/getline.c 36 40 endif 37 41 -
trunk/src/sed/basicdefs.h
r599 r606 60 60 # define __bool_true_false_are_defined 1 61 61 #else 62 # include <stdbool.h> 62 # if HAVE_STDBOOL_H 63 # include <stdbool.h> 64 # endif 63 65 #endif 64 66 -
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.