From owner-cvs-src@FreeBSD.ORG Tue Oct 30 01:30:42 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFDA616A420; Tue, 30 Oct 2007 01:30:42 +0000 (UTC) (envelope-from rafan@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E45F813C4B3; Tue, 30 Oct 2007 01:30:42 +0000 (UTC) (envelope-from rafan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9U1Ugqm086372; Tue, 30 Oct 2007 01:30:42 GMT (envelope-from rafan@repoman.freebsd.org) Received: (from rafan@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9U1Ugtv086371; Tue, 30 Oct 2007 01:30:42 GMT (envelope-from rafan) Message-Id: <200710300130.l9U1Ugtv086371@repoman.freebsd.org> From: Rong-En Fan Date: Tue, 30 Oct 2007 01:30:42 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/include _ctype.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 01:30:43 -0000 rafan 2007-10-30 01:30:42 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) include _ctype.h Log: Restore ctype(3) ABI forward compatibility in 6.x world. This was broken with last ctype(3) single-byte and multi-byte separation for fixing operating on UTF-8 locale. To be specific, we introduced a new symbol in libc. And this symbol is referred via inline functions here. So, you can not run a binary built with this version of libc on an older system. To restore the compatibility, make these functions built as non-inlined form (see lib/libc/nomarco.c) and MFC rev 1.32 which drops the usage of that symbol in question for __isctype(). As this may impact performance, I only intend to fix in 6.x, but not 7 (not yet released) and 8 (it's HEAD). Discussed on: cvs-src Requested by: scottl Reviewed by: ache, delphij Approved by: re (kensmith) Revision Changes Path 1.30.2.2 +20 -1 src/include/_ctype.h