PERFORCE change 145815 for review

Gabor Kovesdan gabor at FreeBSD.org
Thu Jul 24 15:24:22 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=145815

Change 145815 by gabor at 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."


More information about the p4-projects mailing list