[Libguestfs] enabling more syntax-checks

Richard W.M. Jones rjones at redhat.com
Thu Sep 24 09:19:53 UTC 2009


On Thu, Sep 24, 2009 at 11:05:12AM +0200, Jim Meyering wrote:
> The first c-set cleans up the list of excluded syntax-checks.
> The second enables the sc_avoid_ctype_macros test and changes
> each use of a ctype macro like isspace to c_isspace.
> This makes it so such tests (often parsing-related) is locale-independent.
> Otherwise, in some odd corner cases (combination of non-C locale
> and perverted inputs), I suspect that libguestfs tools would mistakenly
> accept surprising inputs.

ACK to both.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw




More information about the Libguestfs mailing list