Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/external/bsd/kyua-atf-compat/dist



On Tue, Feb 26, 2013 at 03:23:19PM +0000, Julio Merino wrote:
> Module Name:  src
> Committed By: jmmv
> Date:         Tue Feb 26 15:23:19 UTC 2013
> 
> Modified Files:
>       src/external/bsd/kyua-atf-compat/dist: atf-run.sh atf-run_test.sh
> 
> Log Message:
> Cherry-pick upstream change 70aefdbe5b843d6b24b5a9b816e47f2fb026dde2:
> 
> Properly handle tabs when parsing config files
> 
> Backslashes within [] in a regexp don't have any meaning, so [ \t]
> did not have the intended effect of being evaluated to a space and
> a tab.  Fix this by writing an actual tab in the regexp.
> 
> Problem found by Valeriy E. Ushakov.

It may be better to use the POSIX character class "[[:space:]]" rather
than embedded spaces and tabs (which may not cut and paste well), and
which make it more obvious what actually is wanted.

Best,
Alistair


Home | Main Index | Thread Index | Old Index