tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: regcomp() signedness issues
>> 00000000: 6a3a 5b5d 6a3a 5b5d 6a3a 5bd9 6a3a 5b5d j:[]j:[]j:[.j:[]
> I can't reproduce this in current:
> if ((e = regcomp(&re, "j:[]j:[]j:[.j:[]", REG_EXTENDED)) != 0) {
> What am I doing wrong?
Based on the Subject:, perhaps you're using a machine where plain char
has opposite signedness from the one where the issue was observed?
I don't see why signedness would matter for that RE, but the original
mail seems to have not made it to me, so there may be something
relevant there I didn't see. Also, I didn't see anything in the quote
indicating what flag bits (third arg to regcomp()) are appropriate;
REG_EXTENDED may not be right.
/~\ The ASCII Mouse
\ / Ribbon Campaign
X Against HTML mouse%rodents-montreal.org@localhost
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B
Home |
Main Index |
Thread Index |
Old Index