[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grep: Problems with 2.5
From: |
Jost Martin |
Subject: |
grep: Problems with 2.5 |
Date: |
Fri, 26 Jul 2002 14:53:03 +0200 |
Hello,
I got two problems with grep 2.5 on HPUX 10.20, compiled using HPs cc.
1.
Compilation fails, because of gcc-specialities.
I had to change dfa.c:
delphi:/pd-sw/tools/grep/grep-2.5/src> diff -w dfa.c.~1~ dfa.c
1055c1055,1056
< char expr[6] = { '[', c, '-', c2, ']', '\0' };
---
> /* char expr[6] = { '[', c, '-',
> c2, ']', '\0' }; */
> char expr[6];
1056a1058,1063
> expr[0] = '[';
> expr[1] = c;
> expr[2] = '-';
> expr[3] = c2;
> expr[4] = ']';
> expr[5] = '\0';
1059c1066
< char buf[2] = { c, '\0' };
---
> char buf[2];
1060a1068,1070
> buf[0] = c;
> buf[1] ='\0';
2. Make test yields one error:
PASS: warning.sh
PASS: khadafy.sh
PASS: spencer1.sh
Spencer bre test #16 failed
FAIL: bre.sh
PASS: ere.sh
PASS: status.sh
PASS: empty.sh
PASS: options.sh
PASS: backref.sh
PASS: file.sh
====================
1 of 10 tests failed
====================
Please let me know, if you need additional details !
Martin
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- grep: Problems with 2.5,
Jost Martin <=