aboutsummaryrefslogtreecommitdiff
path: root/misc/regexp.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-10-28 00:45:40 +0000
committerUlrich Drepper <drepper@redhat.com>2000-10-28 00:45:40 +0000
commit0bb258e350ca7864a1db31cb89c4a82602ec3587 (patch)
treeca78f0d6f9a17f5c95dfcb50c3c87e0b0efcf227 /misc/regexp.c
parent9f6c1fc4947e0b6d007cff159166bc0373386c61 (diff)
downloadglibc-0bb258e350ca7864a1db31cb89c4a82602ec3587.zip
glibc-0bb258e350ca7864a1db31cb89c4a82602ec3587.tar.gz
glibc-0bb258e350ca7864a1db31cb89c4a82602ec3587.tar.bz2
Update.
* posix/regex.c (gettext): Use correct translation domain for glibc. * argp/argp-parse.c: Use __dcgettext instead of dcgettext for glibc. * argp/argp-help.c: Likewise. * inet/getnameinfo.c (getnameinfo): Use __snprintf instead of snprintf. * inet/rexec.c (rexec_af): Use __snprintf instead of snprintf. * misc/regexp.c (__step): Use __regexec instead of regexec. (__advance): Likewise. * nss/digits_dots.c: Use __inet_aton instead of inet_aton. * misc/daemon.c (daemon): Use __fork instead of fork.
Diffstat (limited to 'misc/regexp.c')
-rw-r--r--misc/regexp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/regexp.c b/misc/regexp.c
index 34019ae..fbc32e7 100644
--- a/misc/regexp.c
+++ b/misc/regexp.c
@@ -1,5 +1,5 @@
/* Define function and variables for the obsolete <regexp.h> interface.
- Copyright (C) 1996 Free Software Foundation, Inc.
+ Copyright (C) 1996, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
@@ -41,7 +41,7 @@ __step (const char *string, const char *expbuf)
expbuf += __alignof (regex_t *);
expbuf -= (expbuf - ((const char *) 0)) % __alignof__ (regex_t *);
- if (regexec ((regex_t *) expbuf, string, 1, &match, REG_NOTEOL)
+ if (__regexec ((regex_t *) expbuf, string, 1, &match, REG_NOTEOL)
== REG_NOMATCH)
return 0;
@@ -63,7 +63,7 @@ __advance (const char *string, const char *expbuf)
expbuf += __alignof__ (regex_t *);
expbuf -= (expbuf - ((const char *) 0)) % __alignof__ (regex_t *);
- if (regexec ((regex_t *) expbuf, string, 1, &match, REG_NOTEOL)
+ if (__regexec ((regex_t *) expbuf, string, 1, &match, REG_NOTEOL)
== REG_NOMATCH
/* We have to check whether the check is at the beginning of the
buffer. */