[email protected] writes:

> -    {{^iswalnum\('1'\).*= 8} == 1}
> -    {{^iswalpha\('A'\).*= 1024} == 1}
> -    {{^iswcntrl\('\\t'\).*= 2} == 1}
> +    {{^iswalnum\('1'\).*= (8|2048)} == 1}
> +    {{^iswalpha\('A'\).*= (1024|4)} == 1}
> +    {{^iswcntrl\('\\t'\).*= (2|512)} == 1}
>      {{^iswdigit\('1'\).*= 1} == 1}
> -    {{^iswgraph\('='\).*= 32768} == 1}
> +    {{^iswgraph\('='\).*= (32768|128)} == 1}
>      {{^iswlower\('ц'\).*= 1} == 1}
>      {{^iswupper\('Ц'\).*= 1} == 1}
>      {{^iswprint\('☻'\).*= 1} == 1}
>      {{^iswpunct\('•'\).*= 1} == 1}
> -    {{^iswspace\('\\t'\).*= 8192} == 1}
> -    {{^iswxdigit\('A'\).*= 4096} == 1}
> +    {{^iswspace\('\\t'\).*= (8192|32)} == 1}
> +    {{^iswxdigit\('A'\).*= (4096|16)} == 1}

All these tests should really check only for a non-zero return value.

Andreas.

-- 
Andreas Schwab, [email protected]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

_______________________________________________
Ltrace-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/ltrace-devel

Reply via email to