Commit ea88c0f7 by Richard Henderson Committed by Benjamin Kosnik

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
parent 9196ece5
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 @@ ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment