From: Ulrich Drepper Date: Mon, 24 May 1999 16:21:12 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/glibc-2_1_1~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6843299d9b978aca10b5cb1be949492c61c5b092;p=thirdparty%2Fglibc.git Update. 1999-05-24 Ulrich Drepper * ctype/ctype.h: Don't optimize toupper/tolower for C++. --- diff --git a/ChangeLog b/ChangeLog index 537ebc26e32..d2bfea03af2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +1999-05-24 Ulrich Drepper + + * ctype/ctype.h: Don't optimize toupper/tolower for C++. + 1999-05-23 Roland McGrath * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600. diff --git a/ctype/ctype.h b/ctype/ctype.h index fd4f9e8ca9b..11f92068d45 100644 --- a/ctype/ctype.h +++ b/ctype/ctype.h @@ -163,7 +163,7 @@ toupper (int __c) __THROW } #endif -#if __GNUC__ >= 2 && defined __OPTIMIZE__ +#if __GNUC__ >= 2 && defined __OPTIMIZE__ && !defined __cplusplus # define __tobody(c, f, a) \ ({ int __res; \ if (sizeof (c) > 1) \