From owner-cvs-all@FreeBSD.ORG Wed Jan 23 01:57:27 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4267616A417; Wed, 23 Jan 2008 01:57:27 +0000 (UTC) (envelope-from ache@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1B01113C44B; Wed, 23 Jan 2008 01:57:27 +0000 (UTC) (envelope-from ache@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 m0N1vQer092193; Wed, 23 Jan 2008 01:57:26 GMT (envelope-from ache@repoman.freebsd.org) Received: (from ache@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m0N1vQ62092192; Wed, 23 Jan 2008 01:57:26 GMT (envelope-from ache) Message-Id: <200801230157.m0N1vQ62092192@repoman.freebsd.org> From: "Andrey A. Chernov" Date: Wed, 23 Jan 2008 01:57:26 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libc/locale setrunelocale.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jan 2008 01:57:27 -0000 ache 2008-01-23 01:57:26 UTC FreeBSD src repository Modified files: lib/libc/locale setrunelocale.c Log: 1) Add (void) cast to _none_init() (while I am here) 2) Fix longstanding segfault in mb/wc code when unknown encoding is specified in the locale file (mb/wc functions becomes NULL in that case). Revision Changes Path 1.49 +4 -2 src/lib/libc/locale/setrunelocale.c