This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
[v3] bsd tweaks
- To: libstdc++ at sources dot redhat dot com, gcc-patches at gcc dot gnu dot org
- Subject: [v3] bsd tweaks
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Wed, 22 Nov 2000 18:57:04 -0800
pointed out in private email, fixed thusly
2000-11-22 Richard Henderson <rth@redhat.com>
* config/os/bsd/bits/ctype_inline.h (is): Fix order of expressions.
Index: config/os/bsd/bits/ctype_inline.h
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/config/os/bsd/bits/ctype_inline.h,v
retrieving revision 1.1
diff -c -p -r1.1 ctype_inline.h
*** ctype_inline.h 2000/10/07 18:39:05 1.1
--- ctype_inline.h 2000/11/23 02:56:27
***************
*** 38,44 ****
ctype<char>::
is(mask __m, char __c) const throw()
{
! if (__m & digit || __m & xdigit)
return __isctype(__c, __m);
else
return __istype(__c, __m);
--- 38,44 ----
ctype<char>::
is(mask __m, char __c) const throw()
{
! if (__m & (digit | xdigit))
return __isctype(__c, __m);
else
return __istype(__c, __m);