[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compilation bug in gettext-0.12 source file msggrep.c
From: |
Sageev George |
Subject: |
Compilation bug in gettext-0.12 source file msggrep.c |
Date: |
Thu, 22 May 2003 14:44:59 -0700 (PDT) |
During compilation on a Sun Ultra 30, running Solaris 9 (4/03),
a file in the gettext-tools src directory caused a compilation
error. I believe that this error was caused by unmatched
parentheses (no matching left-parenthesis for the access()==0
condition), so I added right parenthesis on line 348.
bash-2.05# diff -c msggrep.c ~sageev/gettext-0.12/gettext-tools/src/msggrep.c
*** msggrep.c Tue Apr 29 03:00:16 2003
--- /export/home/sageev/gettext-0.12/gettext-tools/src/msggrep.c Thu May
22 14:36:11 2003
***************
*** 345,351 ****
/usr/bin/grep, because /usr/bin/grep doesn't understand the options
-q and -e. */
#if (defined (sun) || defined (__sun)) && defined (__SVR4)
! if ((strcmp (grep_path, "/usr/bin/grep") == 0
|| strcmp (grep_path, "/bin/grep") == 0))
&& access ("/usr/xpg4/bin/grep", X_OK) == 0)
grep_path = "/usr/xpg4/bin/grep";
--- 345,351 ----
/usr/bin/grep, because /usr/bin/grep doesn't understand the options
-q and -e. */
#if (defined (sun) || defined (__sun)) && defined (__SVR4)
! if (((strcmp (grep_path, "/usr/bin/grep") == 0
|| strcmp (grep_path, "/bin/grep") == 0))
&& access ("/usr/xpg4/bin/grep", X_OK) == 0)
grep_path = "/usr/xpg4/bin/grep";
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Compilation bug in gettext-0.12 source file msggrep.c,
Sageev George <=