~ubuntu-branches/ubuntu/hoary/pcre3/hoary-security

« back to all changes in this revision

Viewing changes to pcreposix.c

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2001-08-19 20:43:28 UTC
  • Revision ID: james.westby@ubuntu.com-20010819204328-7tza8mqo4pu7w1dy
Tags: 3.4-1.1
* Non-maintainer upload.
* Rebuild with a version of libc6 without a broken atexit() symbol
  (closes: #108597, critical).
* Add to LD_LIBRARY_PATH rather than clobbering it, to avoid fakeroot
  dying (closes: #108661, #108891).

Show diffs side-by-side

added added

removed removed

Lines of Context:
136
136
*************************************************/
137
137
 
138
138
size_t
139
 
regerror(int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size)
 
139
pcreposix_regerror(int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size)
140
140
{
141
141
const char *message, *addmessage;
142
142
size_t length, addlength;
171
171
*************************************************/
172
172
 
173
173
void
174
 
regfree(regex_t *preg)
 
174
pcreposix_regfree(regex_t *preg)
175
175
{
176
176
(pcre_free)(preg->re_pcre);
177
177
}
194
194
*/
195
195
 
196
196
int
197
 
regcomp(regex_t *preg, const char *pattern, int cflags)
 
197
pcreposix_regcomp(regex_t *preg, const char *pattern, int cflags)
198
198
{
199
199
const char *errorptr;
200
200
int erroffset;
225
225
ints. */
226
226
 
227
227
int
228
 
regexec(regex_t *preg, const char *string, size_t nmatch,
 
228
pcreposix_regexec(regex_t *preg, const char *string, size_t nmatch,
229
229
  regmatch_t pmatch[], int eflags)
230
230
{
231
231
int rc;