Re: Weird regex behavior on 9.1-RELEASE on amd64 in 32-bit mode

2013-07-09 Thread Michael Sperber
Thanks for the quick answer! Konstantin Belousov writes: > -m32 does not work on stable. You need HEAD. So I should have better luck with a binary compiled on i386, right? -- Regards, Mike ___ freebsd-stable@freebsd.org mailing list http://lists.f

Re: Weird regex behavior on 9.1-RELEASE on amd64 in 32-bit mode

2013-07-09 Thread Konstantin Belousov
On Tue, Jul 09, 2013 at 08:08:22PM +0200, Michael Sperber wrote: > > I noticed that scsh (which only runs in 32-bit mode) fails on amd64. I > narrowed it down to a regex malfunction (I think). This program: > > snip > #include > #include > > int > main(void) > { > regex_t r; > in

Weird regex behavior on 9.1-RELEASE on amd64 in 32-bit mode

2013-07-09 Thread Michael Sperber
I noticed that scsh (which only runs in 32-bit mode) fails on amd64. I narrowed it down to a regex malfunction (I think). This program: snip #include #include int main(void) { regex_t r; int status = regcomp(&r, "/afs", REG_EXTENDED); size_t nmatch = 1 + r.re_nsub; regmatch