From owner-cvs-all@FreeBSD.ORG Wed Jun 25 15:42:35 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C477E37B401; Wed, 25 Jun 2003 15:42:35 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C6B244008; Wed, 25 Jun 2003 15:42:34 -0700 (PDT) (envelope-from phantom@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h5PMgY0U069250; Wed, 25 Jun 2003 15:42:34 -0700 (PDT) (envelope-from phantom@repoman.freebsd.org) Received: (from phantom@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h5PMgYHS069249; Wed, 25 Jun 2003 15:42:34 -0700 (PDT) Message-Id: <200306252242.h5PMgYHS069249@repoman.freebsd.org> From: Alexey Zelkin Date: Wed, 25 Jun 2003 15:42:34 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc/locale setlocale.c setlocale.h setrunelocale.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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, 25 Jun 2003 22:42:36 -0000 phantom 2003/06/25 15:42:34 PDT FreeBSD src repository Modified files: lib/libc/locale setlocale.c setlocale.h setrunelocale.c Log: Reduce code duplication by separating _PathLocle detection code into internal helper function. Revision Changes Path 1.46 +32 -21 src/lib/libc/locale/setlocale.c 1.5 +2 -0 src/lib/libc/locale/setlocale.h 1.28 +3 -16 src/lib/libc/locale/setrunelocale.c