ctype_inline.h (is): Fix order of expressions.
2000-11-22 Richard Henderson <rth@redhat.com> * config/os/bsd/bits/ctype_inline.h (is): Fix order of expressions. From-SVN: r37681
This commit is contained in:
parent
9196ece5c2
commit
ea88c0f77e
@ -1,3 +1,7 @@
|
|||||||
|
2000-11-22 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
|
* config/os/bsd/bits/ctype_inline.h (is): Fix order of expressions.
|
||||||
|
|
||||||
2000-11-22 Phil Edwards <pme@sources.redhat.com>
|
2000-11-22 Phil Edwards <pme@sources.redhat.com>
|
||||||
|
|
||||||
* porting.texi: Minor tweaks to vocabulary.
|
* porting.texi: Minor tweaks to vocabulary.
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
ctype<char>::
|
ctype<char>::
|
||||||
is(mask __m, char __c) const throw()
|
is(mask __m, char __c) const throw()
|
||||||
{
|
{
|
||||||
if (__m & digit || __m & xdigit)
|
if (__m & (digit | xdigit))
|
||||||
return __isctype(__c, __m);
|
return __isctype(__c, __m);
|
||||||
else
|
else
|
||||||
return __istype(__c, __m);
|
return __istype(__c, __m);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user