Re: importing regex changes from libc

2006-08-11 Thread Paul Eggert
Eric Blake <[EMAIL PROTECTED]> writes: > How about this? Paul, do you want to handle pushing it back upstream to > glibc? Sure, I'll add it to my long list of changes to push back upstream. :-) Thanks for the bug report and patch. I like the following a bit better, since it more closely matc

Re: importing regex changes from libc

2006-08-11 Thread Eric Blake
Eric Blake byu.net> writes: > > This is broken on cygwin, where wchar_t is 2 bytes but wint_t is 4 bytes. How about this? Paul, do you want to handle pushing it back upstream to glibc? 2006-08-11 Eric Blake <[EMAIL PROTECTED]> * regex_internal.c (re_string_skip_chars): Avoid overfl

Re: importing regex changes from libc

2006-08-11 Thread Eric Blake
Paul Eggert CS.UCLA.EDU> writes: > --- lib/regex_internal.c 10 Apr 2006 06:43:33 - 1.20 > +++ lib/regex_internal.c 10 Aug 2006 20:05:48 - > -488,7 +488,7 re_string_skip_chars (re_string_t *pstr, >mbstate_t prev_st; >Idx rawbuf_idx; >size_t mbclen; > -

Re: importing regex changes from libc

2006-08-10 Thread Paul Eggert
Paul Eggert <[EMAIL PROTECTED]> writes: > I may have found a bug in the gnulib regex code, It turned out to be a bug in coreutils/src/csplit.c. Sorry about the false alarm.

importing regex changes from libc

2006-08-10 Thread Paul Eggert
I may have found a bug in the gnulib regex code, but the first step before fixing it is to import recent changes from libc, so I installed this: 2006-08-10 Paul Eggert <[EMAIL PROTECTED]> Import the following changes from libc: 2006-06-02 Jakub Jelinek <[EMAIL PROTECTED]>