[comp.os.minix] regerror

kjh@pollux.usc.edu (Kenneth J. Hendrickson) (03/26/91)

Will somebody please mail me regerror.c for the C library?

I am missing it.  It seems to be called from regexp.c and regsub.c,
which are both in /usr/src/minix/lib/other.

Thank you very much.

-- 
favourite oxymorons:   student athlete, military justice, mercy killing
Ken Hendrickson N8DGN/6       kjh@usc.edu      ...!uunet!usc!pollux!kjh

kjh@pollux.usc.edu (Kenneth J. Hendrickson) (03/26/91)

In article <31371@usc> kjh@pollux.usc.edu (Kenneth J. Hendrickson) writes:
>Will somebody please mail me regerror.c for the C library?

I have discovered a possible bug in the Minix 1.5 library.

My crc list for Minix 1.5 only lists regexp.h, regexp.c, and regsub.c.
Both regexp.c and regsub.c call the regerror() function.
The first line of regexp.c promises that regerror() is elsewhere.
It isn't.  :-(

If I'm the only one missing this file, then someone please mail it to
me.  If everybody is missing it, then I think it is a bug.  Maybe nobody
has tried to use regexp(3) in Minix before?????

-- 
favourite oxymorons:   student athlete, military justice, mercy killing
Ken Hendrickson N8DGN/6       kjh@usc.edu      ...!uunet!usc!pollux!kjh

kjh@pollux.usc.edu (Kenneth J. Hendrickson) (03/26/91)

Since I was missing regerror.c from my library for Minix 1.5, and since
it wasn't listed at all in my list of crcs, I went to uunet.uu.net to
see what I could find.  I found Mr. Spencer's regexp package, complete
with several bug fixes.

I compared the bug fixes with the source in Minix 1.5.10, and I am
pleased to report that all the fixes were already incorporated.

Here is the missing file, that you will need if you ever want to use
regexp.  I haven't yet put it into my library, but it looks very simple.
Andy: will you see that this makes it into the next release of Minix?

begin 644 regerror.c
M(VEN8VQU9&4@/'-T9&EO+F@^"@IV;VED"G)E9V5R<F]R*',I"F-H87(@*G,[
M"GL*(VEF9&5F($524D%604E,"@EE<G)O<B@B<F5G97AP.B`E<R(L(',I.PHC
M96QS90H)9G!R:6YT9BAS=&1E<G(L(")R96=E>'`H,RDZ("5S(BP@<RD["@EE
C>&ET*#$I.PHC96YD:68*"2\J($Y/5%)%04-(140@*B\*?0IS
`
end

-- 
favourite oxymorons:   student athlete, military justice, mercy killing
Ken Hendrickson N8DGN/6       kjh@usc.edu      ...!uunet!usc!pollux!kjh

HBO043%DJUKFA11.BITNET@cunyvm.cuny.edu (Christoph van Wuellen) (03/26/91)

Some of the 'core' commands use regexp() -- perhaps regerror has to
be supplied from the 'user' of regexp -- like yyerror etc have to be
supplied from outside.

C.v.W.

UOG01238@vm.uoguelph.ca (David Gilbert) (03/27/91)

   Where can I get minix?

Dave.