bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grep


From: Liakakis Kostas
Subject: grep
Date: Tue, 17 Dec 2002 13:34:56 +0200 (EET)

grep version: 2.5

System: SparcStation10
OS:  Solaris 9 (09/02)
Compiled with: cc: Sun WorkShop 6 update 1 C 5.2 2000/09/11
Compile options: -native -O

The Sun C compiler was reporting errors when it encountered non-constant
initialisers in arrays. It was also emmiting warnings about differences in
prototypes where (const char *) was used in the system includes but
(unsigned const char *) in the grep source. There was also some int/long
and unsigned const char/const char incosistencies in the grep source
itself.

All these in the dfa.c file.

In order to get a clean compile I had to make the attached changes. It is
not a clean patch, just what I had to do to get it going. I know I haven't
touched anything serious, but again I guess gcc has no problems with the
source as it is. I would appreciate a correct patch by somebody in the
future.

After successfully compilation make check failed one test:  

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
====================

I have not investigated if the fault is because of the changes I made.

If there is anything I can do please ask.

Thanks,

-Kostas

Attachment: grep.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]