From owner-p4-projects@FreeBSD.ORG Thu Jul 24 15:24:21 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id A0A56106567E; Thu, 24 Jul 2008 15:24:21 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 628A11065678 for ; Thu, 24 Jul 2008 15:24:21 +0000 (UTC) (envelope-from gabor@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 555D58FC0C for ; Thu, 24 Jul 2008 15:24:21 +0000 (UTC) (envelope-from gabor@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.2/8.14.2) with ESMTP id m6OFOLWQ067743 for ; Thu, 24 Jul 2008 15:24:21 GMT (envelope-from gabor@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m6OFOLvo067741 for perforce@freebsd.org; Thu, 24 Jul 2008 15:24:21 GMT (envelope-from gabor@freebsd.org) Date: Thu, 24 Jul 2008 15:24:21 GMT Message-Id: <200807241524.m6OFOLvo067741@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to gabor@freebsd.org using -f From: Gabor Kovesdan To: Perforce Change Reviews Cc: Subject: PERFORCE change 145815 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2008 15:24:22 -0000 http://perforce.freebsd.org/chv.cgi?CH=145815 Change 145815 by gabor@gabor_server on 2008/07/24 15:23:38 - Arrange catalogues Affected files ... .. //depot/projects/soc2008/gabor_textproc/grep/grep.c#71 edit .. //depot/projects/soc2008/gabor_textproc/grep/nls/C.msg#6 edit .. //depot/projects/soc2008/gabor_textproc/grep/nls/hu_HU.ISO8859-2.msg#5 edit Differences ... ==== //depot/projects/soc2008/gabor_textproc/grep/grep.c#71 (text+ko) ==== @@ -78,7 +78,10 @@ /*13*/ "value out of range", /*14*/ "unknown -d or --directory option", /*15*/ "unknown --color option", -/*16*/ "cannot read bzip2 compressed file" +/*16*/ "cannot read bzip2 compressed file", +/*17*/ "PCRE is not enabled in this version of grep. " + "To enable this feature, please install libpcre and" + "recompile grep with WITH_PCRE set." }; /* Flags passed to regcomp() and regexec() */ @@ -579,9 +582,7 @@ break; case GREP_PERL: #ifndef WITH_PCRE - errx(2, "PCRE is not enabled in this version of grep." - "To enable this feature, please install libpcre and" - "recompile grep with WITH_PCRE set."); + errx(2, getstr(17)); #endif break; default: ==== //depot/projects/soc2008/gabor_textproc/grep/nls/C.msg#6 (text+ko) ==== @@ -18,3 +18,4 @@ 14 "unknown -d or --directory option" 15 "unknown --color option" 16 "cannot read bzip2 compressed file" +17 "PCRE is not enabled in this version of grep. To enable this feature, please install libpcre and recompile grep with WITH_PCRE set." ==== //depot/projects/soc2008/gabor_textproc/grep/nls/hu_HU.ISO8859-2.msg#5 (text+ko) ==== @@ -18,3 +18,4 @@ 14 "ismeretlen -d vagy --directory opció" 15 "ismeretlen --color opció" 16 "bzip2 tömörített fájl nem olvasható" +17 "A PCRE nem aktivált a grep ezen verziójában. A funkció aktiválásához kérjük telepítse a libpcre könyvtárat és fordítsa újra a grep programot a WITH_PCRE opcióval."