From: Bruno Haible Date: Wed, 21 May 2003 14:42:47 +0000 (+0000) Subject: Fix mismatched parentheses. X-Git-Tag: v0.12.1~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27ea4752a3fd01233679790cd1301c6a357839e1;p=thirdparty%2Fgettext.git Fix mismatched parentheses. --- diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index 252587e49..60f7047ac 100644 --- a/gettext-tools/src/ChangeLog +++ b/gettext-tools/src/ChangeLog @@ -1,3 +1,8 @@ +2003-05-21 Bruno Haible + + * msggrep.c (main) [Solaris]: Fix syntax error. + Reported by Valery Beaud . + 2003-05-21 Bruno Haible * xgettext.c (output_syntax): New variable. diff --git a/gettext-tools/src/msggrep.c b/gettext-tools/src/msggrep.c index fba6e7414..f6928a526 100644 --- a/gettext-tools/src/msggrep.c +++ b/gettext-tools/src/msggrep.c @@ -346,7 +346,7 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\ -q and -e. */ #if (defined (sun) || defined (__sun)) && defined (__SVR4) if ((strcmp (grep_path, "/usr/bin/grep") == 0 - || strcmp (grep_path, "/bin/grep") == 0)) + || strcmp (grep_path, "/bin/grep") == 0) && access ("/usr/xpg4/bin/grep", X_OK) == 0) grep_path = "/usr/xpg4/bin/grep"; #endif