🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.development.apps
Article #48

REGEX ---> REGEXEC?

#48
From: Shane West
Date: Wed, 18 Jun 1997 00:00
29 lines
1863 bytes
Hiya!

	I'm currently trying to compile some software on a Linux box
that was originally developed on a CT S640 running UNIX System V Release
5.3. The Linux machine is running Slackware Linux 2.0.29. The original 
code included calls to regex and regcmp. I have been told that these 
functions are compatible with linux's regexec and regcomp functions. Is
this information correct? 

I have tried defining regex as regexec etc in the source, it was working
fine until I received the following compiler error:

too many arguments to function 'regexec'

What can I do to fix this problem? 

Any help would be appreciated.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Shane West                        
  School of Psychological Science
  La Trobe University
  Bundoora, Victoria 3083, Australia

  Phone:  + 61 3 9479 2147
  E-mail: westsj@latcs1.lat.oz.au.
  Http://www.cs.latrobe.edu.au/~westsj/home.html
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Technical Details
Message-ID: <5o7hqu$em9@lion.cs.latrobe.edu.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 135ade,51aad78328b11c05,start
X-Google-Attributes: gid135ade,public
X-Google-Thread: 1103af,51aad78328b11c05,start
X-Google-Attributes: gid1103af,public
X-Google-Thread: 10c696,51aad78328b11c05,start
X-Google-Attributes: gid10c696,public
X-Google-Thread: 102983,51aad78328b11c05,start
X-Google-Attributes: gid102983,public
X-Google-Thread: faa64,51aad78328b11c05,start
X-Google-Attributes: gidfaa64,public
From: westsj@latcs1.cs.latrobe.edu.au (Shane West)
Subject: REGEX ---> REGEXEC?
Date: 1997/06/18
Message-ID: <5o7hqu$em9@lion.cs.latrobe.edu.au>
X-Deja-AN: 249222204
Organization: Comp.Sci & Comp.Eng, La Trobe Uni, Australia
Newsgroups: comp.os.linux.development.apps,aus.computers.linux,latrobe.linux,comp.os.linux.misc,alt.os.linux