[v3] bsd tweaks

Benjamin Kosnik bkoz@redhat.com
Wed Nov 22 18:57:00 GMT 2000


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);


More information about the Libstdc++ mailing list