Mercurial > hg > octave-lojdl > gnulib-hg
comparison regex.c @ 1313:047101c8fdce
(re_match_2) <anychar>: In unibyte case, set buf_ch as unsigned.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Tue, 07 Apr 1998 04:07:58 +0000 |
parents | a9a56c9deb21 |
children | a37088328c87 |
comparison
equal
deleted
inserted
replaced
1312:a9a56c9deb21 | 1313:047101c8fdce |
---|---|
4553 if (multibyte) | 4553 if (multibyte) |
4554 buf_ch = STRING_CHAR_AND_LENGTH (d, dend - d, buf_charlen); | 4554 buf_ch = STRING_CHAR_AND_LENGTH (d, dend - d, buf_charlen); |
4555 else | 4555 else |
4556 #endif /* not emacs */ | 4556 #endif /* not emacs */ |
4557 { | 4557 { |
4558 buf_ch = *d; | 4558 buf_ch = (unsigned char) *d; |
4559 buf_charlen = 1; | 4559 buf_charlen = 1; |
4560 } | 4560 } |
4561 | 4561 |
4562 buf_ch = TRANSLATE (buf_ch); | 4562 buf_ch = TRANSLATE (buf_ch); |
4563 | 4563 |