From: jbj Date: Fri, 28 Jan 2005 06:36:29 +0000 (+0000) Subject: Revert glob/fnmatch/alloca uniqify on macosx for now. X-Git-Tag: rpm-4.4.1-release~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fadd9c8edb96946cb1d1dcf172f4109e2c4bcd35;p=platform%2Fupstream%2Frpm.git Revert glob/fnmatch/alloca uniqify on macosx for now. CVS patchset: 7717 CVS date: 2005/01/28 06:36:29 --- diff --git a/misc/fnmatch.c b/misc/fnmatch.c index e9082f7..1675546 100644 --- a/misc/fnmatch.c +++ b/misc/fnmatch.c @@ -607,7 +607,7 @@ internal_fnmatch (const char *pattern, const char *string, int -xxfnmatch (const char *pattern, const char *string, int flags) +fnmatch (const char *pattern, const char *string, int flags) { return internal_fnmatch (pattern, string, flags & FNM_PERIOD, flags); } diff --git a/misc/fnmatch.h b/misc/fnmatch.h index 07f0ec4..c0fd6a9 100644 --- a/misc/fnmatch.h +++ b/misc/fnmatch.h @@ -75,7 +75,7 @@ extern "C" { /* Match NAME against the filename pattern PATTERN, returning zero if it matches, FNM_NOMATCH if not. */ -extern int xxfnmatch __P ((__const char *__pattern, __const char *__name, +extern int fnmatch __P ((__const char *__pattern, __const char *__name, int __flags)); #ifdef __cplusplus diff --git a/misc/glob.c b/misc/glob.c index a698744..4cf1baa 100644 --- a/misc/glob.c +++ b/misc/glob.c @@ -48,7 +48,7 @@ # include -#define __xxalloca alloca +#define __alloca alloca #define __stat stat #define NAMLEN(_d) NLENGTH(_d) @@ -130,7 +130,7 @@ static int __glob_pattern_p (const char *pattern, int quote); If memory cannot be allocated for PGLOB, GLOB_NOSPACE is returned. Otherwise, `glob' returns zero. */ int -xxglob (const char *pattern, int flags, +glob (const char *pattern, int flags, int (*errfunc) __P ((const char *, int)), glob_t *pglob) { const char *filename; @@ -165,7 +165,7 @@ xxglob (const char *pattern, int flags, if (onealt == NULL) { if (!(flags & GLOB_APPEND)) - xxglobfree (pglob); + globfree (pglob); return GLOB_NOSPACE; } #endif @@ -187,7 +187,7 @@ xxglob (const char *pattern, int flags, #ifndef __GNUC__ free (onealt); #endif - return xxglob (pattern, flags & ~GLOB_BRACE, errfunc, pglob); + return glob (pattern, flags & ~GLOB_BRACE, errfunc, pglob); } /* Now find the end of the whole brace expression. */ @@ -201,7 +201,7 @@ xxglob (const char *pattern, int flags, #ifndef __GNUC__ free (onealt); #endif - return xxglob (pattern, flags & ~GLOB_BRACE, errfunc, pglob); + return glob (pattern, flags & ~GLOB_BRACE, errfunc, pglob); } } /* Please note that we now can be sure the brace expression @@ -236,7 +236,7 @@ xxglob (const char *pattern, int flags, memcpy (&alt_start[next - p], rest, rest_len); #endif - result = xxglob (onealt, + result = glob (onealt, ((flags & ~(GLOB_NOCHECK|GLOB_NOMAGIC)) | GLOB_APPEND), errfunc, pglob); @@ -247,7 +247,7 @@ xxglob (const char *pattern, int flags, free (onealt); #endif if (!(flags & GLOB_APPEND)) - xxglobfree (pglob); + globfree (pglob); return result; } @@ -325,7 +325,7 @@ xxglob (const char *pattern, int flags, char *drive_spec; ++dirlen; - drive_spec = (char *) __xxalloca (dirlen + 1); + drive_spec = (char *) __alloca (dirlen + 1); #ifdef HAVE_MEMPCPY *((char *) mempcpy (drive_spec, pattern, dirlen)) = '\0'; #else @@ -341,7 +341,7 @@ xxglob (const char *pattern, int flags, from "d:/", since "d:" and "d:/" are not the same.*/ } #endif - newp = (char *) __xxalloca (dirlen + 1); + newp = (char *) __alloca (dirlen + 1); #ifdef HAVE_MEMPCPY *((char *) mempcpy (newp, pattern, dirlen)) = '\0'; #else @@ -360,7 +360,7 @@ xxglob (const char *pattern, int flags, && dirlen > 1) /* "pattern/". Expand "pattern", appending slashes. */ { - int val = xxglob (dirname, flags | GLOB_MARK, errfunc, pglob); + int val = glob (dirname, flags | GLOB_MARK, errfunc, pglob); if (val == 0) pglob->gl_flags = ((pglob->gl_flags & ~GLOB_MARK) | (flags & GLOB_MARK)); @@ -402,7 +402,7 @@ xxglob (const char *pattern, int flags, /* `sysconf' does not support _SC_LOGIN_NAME_MAX. Try a moderate value. */ buflen = 20; - name = (char *) __xxalloca (buflen); + name = (char *) __alloca (buflen); success = getlogin_r (name, buflen) >= 0; # else @@ -421,7 +421,7 @@ xxglob (const char *pattern, int flags, /* `sysconf' does not support _SC_GETPW_R_SIZE_MAX. Try a moderate value. */ pwbuflen = 1024; - pwtmpbuf = (char *) __xxalloca (pwbuflen); + pwtmpbuf = (char *) __alloca (pwbuflen); while (getpwnam_r (name, &pwbuf, pwtmpbuf, pwbuflen, &p) != 0) @@ -432,7 +432,7 @@ xxglob (const char *pattern, int flags, break; } pwbuflen *= 2; - pwtmpbuf = (char *) __xxalloca (pwbuflen); + pwtmpbuf = (char *) __alloca (pwbuflen); __set_errno (save); } # else @@ -458,7 +458,7 @@ xxglob (const char *pattern, int flags, { char *newp; size_t home_len = strlen (home_dir); - newp = (char *) __xxalloca (home_len + dirlen); + newp = (char *) __alloca (home_len + dirlen); # ifdef HAVE_MEMPCPY mempcpy (mempcpy (newp, home_dir, home_len), &dirname[1], dirlen); @@ -481,7 +481,7 @@ xxglob (const char *pattern, int flags, else { char *newp; - newp = (char *) __xxalloca (end_name - dirname); + newp = (char *) __alloca (end_name - dirname); # ifdef HAVE_MEMPCPY *((char *) mempcpy (newp, dirname + 1, end_name - dirname)) = '\0'; @@ -505,7 +505,7 @@ xxglob (const char *pattern, int flags, /* `sysconf' does not support _SC_GETPW_R_SIZE_MAX. Try a moderate value. */ buflen = 1024; - pwtmpbuf = (char *) __xxalloca (buflen); + pwtmpbuf = (char *) __alloca (buflen); while (getpwnam_r (user_name, &pwbuf, pwtmpbuf, buflen, &p) != 0) { @@ -515,7 +515,7 @@ xxglob (const char *pattern, int flags, break; } buflen *= 2; - pwtmpbuf = __xxalloca (buflen); + pwtmpbuf = __alloca (buflen); __set_errno (save); } # else @@ -532,7 +532,7 @@ xxglob (const char *pattern, int flags, char *newp; size_t home_len = strlen (home_dir); size_t rest_len = end_name == NULL ? 0 : strlen (end_name); - newp = (char *) __xxalloca (home_len + rest_len + 1); + newp = (char *) __alloca (home_len + rest_len + 1); # ifdef HAVE_MEMPCPY *((char *) mempcpy (mempcpy (newp, home_dir, home_len), end_name, rest_len)) = '\0'; @@ -625,7 +625,7 @@ xxglob (const char *pattern, int flags, dirs.gl_lstat = pglob->gl_lstat; } - status = xxglob (dirname, + status = glob (dirname, ((flags & (GLOB_ERR | GLOB_NOCHECK | GLOB_NOESCAPE | GLOB_ALTDIRFUNC)) | GLOB_NOSORT | GLOB_ONLYDIR), @@ -647,8 +647,8 @@ xxglob (const char *pattern, int flags, if (interrupt_state) { - xxglobfree (&dirs); - xxglobfree (&files); + globfree (&dirs); + globfree (&files); return GLOB_ABORTED; } } @@ -665,8 +665,8 @@ xxglob (const char *pattern, int flags, if (status != 0) { - xxglobfree (&dirs); - xxglobfree (pglob); + globfree (&dirs); + globfree (pglob); return status; } @@ -675,8 +675,8 @@ xxglob (const char *pattern, int flags, &pglob->gl_pathv[old_pathc], pglob->gl_pathc - old_pathc)) { - xxglobfree (&dirs); - xxglobfree (pglob); + globfree (&dirs); + globfree (pglob); return GLOB_NOSPACE; } } @@ -706,7 +706,7 @@ xxglob (const char *pattern, int flags, sizeof (char *)); if (pglob->gl_pathv == NULL) { - xxglobfree (&dirs); + globfree (&dirs); return GLOB_NOSPACE; } @@ -730,8 +730,8 @@ xxglob (const char *pattern, int flags, + filename_len); if (pglob->gl_pathv[pglob->gl_pathc] == NULL) { - xxglobfree (&dirs); - xxglobfree (pglob); + globfree (&dirs); + globfree (pglob); return GLOB_NOSPACE; } @@ -763,7 +763,7 @@ xxglob (const char *pattern, int flags, return GLOB_NOMATCH; } - xxglobfree (&dirs); + globfree (&dirs); } else { @@ -783,7 +783,7 @@ xxglob (const char *pattern, int flags, &pglob->gl_pathv[ignore], pglob->gl_pathc - ignore)) { - xxglobfree (pglob); + globfree (pglob); return GLOB_NOSPACE; } } @@ -804,7 +804,7 @@ xxglob (const char *pattern, int flags, char *new = xrealloc (pglob->gl_pathv[i], len); if (new == NULL) { - xxglobfree (pglob); + globfree (pglob); return GLOB_NOSPACE; } strcpy (&new[len - 2], "/"); @@ -831,7 +831,7 @@ xxglob (const char *pattern, int flags, /* Free storage allocated in PGLOB by a previous `glob' call. */ void -xxglobfree (glob_t *pglob) +globfree (glob_t *pglob) { if (pglob->gl_pathv != NULL) { @@ -1001,7 +1001,7 @@ glob_in_dir (const char *pattern, const char *directory, int flags, struct stat st; size_t patlen = strlen (pattern); size_t dirlen = strlen (directory); - char *fullname = (char *) __xxalloca (dirlen + 1 + patlen + 1); + char *fullname = (char *) __alloca (dirlen + 1 + patlen + 1); # ifdef HAVE_MEMPCPY mempcpy (mempcpy (mempcpy (fullname, directory, dirlen), @@ -1028,7 +1028,7 @@ glob_in_dir (const char *pattern, const char *directory, int flags, { /* This is a special case for matching directories like in "*a/". */ - names = (struct globlink *) __xxalloca (sizeof (struct globlink)); + names = (struct globlink *) __alloca (sizeof (struct globlink)); names->name = (char *) xmalloc (1); if (names->name == NULL) goto memory_error; @@ -1084,10 +1084,10 @@ glob_in_dir (const char *pattern, const char *directory, int flags, name = d->d_name; - if (xxfnmatch (pattern, name, fnm_flags) == 0) + if (fnmatch (pattern, name, fnm_flags) == 0) { struct globlink *new = (struct globlink *) - __xxalloca (sizeof (struct globlink)); + __alloca (sizeof (struct globlink)); len = NAMLEN (d); new->name = (char *) xmalloc (len + 1); if (new->name == NULL) @@ -1112,7 +1112,7 @@ glob_in_dir (const char *pattern, const char *directory, int flags, { size_t len = strlen (pattern); nfound = 1; - names = (struct globlink *) __xxalloca (sizeof (struct globlink)); + names = (struct globlink *) __alloca (sizeof (struct globlink)); names->next = NULL; names->name = (char *) xmalloc (len + 1); if (names->name == NULL) diff --git a/misc/glob.h b/misc/glob.h index c4e38c9..a52d109 100644 --- a/misc/glob.h +++ b/misc/glob.h @@ -152,12 +152,12 @@ typedef struct If memory cannot be allocated for PGLOB, GLOB_NOSPACE is returned. Otherwise, `glob' returns zero. */ #if _FILE_OFFSET_BITS != 64 -extern int xxglob __P ((__const char *__pattern, int __flags, +extern int glob __P ((__const char *__pattern, int __flags, int (*__errfunc) (__const char *, int), glob_t *__pglob)); /* Free storage allocated in PGLOB by a previous `glob' call. */ -extern void xxglobfree __P ((glob_t *__pglob)); +extern void globfree __P ((glob_t *__pglob)); #else # if __GNUC__ >= 2 extern int glob __P ((__const char *__pattern, int __flags, diff --git a/po/cs.po b/po/cs.po index 98472ec..1b65a36 100644 --- a/po/cs.po +++ b/po/cs.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-01-24 05:52-0500\n" +"POT-Creation-Date: 2005-01-26 10:58-0500\n" "PO-Revision-Date: 2001-07-24 10:02+0100\n" "Last-Translator: Milan Kerslager \n" "Language-Team: Czech \n" diff --git a/po/da.po b/po/da.po index ee424cf..98effea 100644 --- a/po/da.po +++ b/po/da.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-01-24 05:52-0500\n" +"POT-Creation-Date: 2005-01-26 10:58-0500\n" "PO-Revision-Date: 2001-04-05 23:03GMT\n" "Last-Translator: Claus Hindsgaul \n" "Language-Team: Danish \n" diff --git a/po/de.po b/po/de.po index 0930684..5a223e8 100644 --- a/po/de.po +++ b/po/de.po @@ -38,7 +38,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-01-24 05:52-0500\n" +"POT-Creation-Date: 2005-01-26 10:58-0500\n" "PO-Revision-Date: 1998-08-03 18:02+02:00\n" "Last-Translator: Karl Eichwalder \n" "Language-Team: German \n" diff --git a/po/fi.po b/po/fi.po index b1bbb5e..6d7859a 100644 --- a/po/fi.po +++ b/po/fi.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-01-24 05:52-0500\n" +"POT-Creation-Date: 2005-01-26 10:58-0500\n" "PO-Revision-Date: 1998-05-02 21:41:47-0400\n" "Last-Translator: Raimo Koski \n" "Language-Team: Finnish \n" diff --git a/po/fr.po b/po/fr.po index 2008e07..4534122 100644 --- a/po/fr.po +++ b/po/fr.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: RPM 4.2.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-01-24 05:52-0500\n" +"POT-Creation-Date: 2005-01-26 10:58-0500\n" "PO-Revision-Date: 2003-07-06 01:36+0200\n" "Last-Translator: RPM French Translation \n" "Language-Team: RPM French Translation \n" diff --git a/po/gl.po b/po/gl.po index 129223d..c0725d4 100644 --- a/po/gl.po +++ b/po/gl.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-01-24 05:52-0500\n" +"POT-Creation-Date: 2005-01-26 10:58-0500\n" "PO-Revision-Date: 2001-01-13 22:31+0100\n" "Last-Translator: Jesús Bravo Álvarez \n" "Language-Team: Galician \n" diff --git a/po/is.po b/po/is.po index 4cdf2cf..fda1400 100644 --- a/po/is.po +++ b/po/is.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-01-24 05:52-0500\n" +"POT-Creation-Date: 2005-01-26 10:58-0500\n" "PO-Revision-Date: 2001-07-12 13:25+0000\n" "Last-Translator: Richard Allen \n" "Language-Team: is \n" diff --git a/po/ja.po b/po/ja.po index 51ef801..3bca9a4 100644 --- a/po/ja.po +++ b/po/ja.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-01-24 05:52-0500\n" +"POT-Creation-Date: 2005-01-26 10:58-0500\n" "PO-Revision-Date: 1999-12-01 22:49 +JST\n" "Last-Translator: Kanda Mitsuru \n" "Language-Team: JRPM \n" diff --git a/po/ko.po b/po/ko.po index 0a2fe59..002fa4b 100644 --- a/po/ko.po +++ b/po/ko.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.4\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-01-24 05:52-0500\n" +"POT-Creation-Date: 2005-01-26 10:58-0500\n" "PO-Revision-Date: 2002-03-04 17:17+0900\n" "Last-Translator: Jong-Hoon Ryu \n" "Language-Team: GNU Translation project \n" diff --git a/po/no.po b/po/no.po index 72f6e4a..eaa25de 100644 --- a/po/no.po +++ b/po/no.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-01-24 05:52-0500\n" +"POT-Creation-Date: 2005-01-26 10:58-0500\n" "PO-Revision-Date: 2001-06-27 12:24+0200\n" "Last-Translator: Kjartan Maraas \n" "Language-Team: Norwegian \n" diff --git a/po/pl.po b/po/pl.po index b4840f9..8382fd1 100644 --- a/po/pl.po +++ b/po/pl.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.3-20030515\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-01-24 05:52-0500\n" +"POT-Creation-Date: 2005-01-26 10:58-0500\n" "PO-Revision-Date: 2003-06-08 22:42+0200\n" "Last-Translator: Arkadiusz Miskiewicz \n" "Language-Team: Polish \n" diff --git a/po/pt.po b/po/pt.po index 9a62776..37ea0ce 100644 --- a/po/pt.po +++ b/po/pt.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-01-24 05:52-0500\n" +"POT-Creation-Date: 2005-01-26 10:58-0500\n" "PO-Revision-Date: 2002-02-14 10:51+0000\n" "Last-Translator: José Nuno Coelho Sanarra Pires \n" "Language-Team: pt \n" "Language-Team: Brazilian Portuguese\n" diff --git a/po/ro.po b/po/ro.po index a396bd6..8590378 100644 --- a/po/ro.po +++ b/po/ro.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-01-24 05:52-0500\n" +"POT-Creation-Date: 2005-01-26 10:58-0500\n" "PO-Revision-Date: 1999-04-10 12:00+EST\n" "Last-Translator: Cristian Gafton \n" "Language-Team: Romanian \n" diff --git a/po/rpm.pot b/po/rpm.pot index b45acc7..0c93f02 100644 --- a/po/rpm.pot +++ b/po/rpm.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-01-24 05:52-0500\n" +"POT-Creation-Date: 2005-01-26 10:58-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/po/ru.po b/po/ru.po index 5c9e5c2..aea9c9d 100644 --- a/po/ru.po +++ b/po/ru.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-01-24 05:52-0500\n" +"POT-Creation-Date: 2005-01-26 10:58-0500\n" "PO-Revision-Date: 2002-08-27 13:36-0400\n" "Last-Translator: Eugene Kanter, \n" "Language-Team: Black Cat Linux Team \n" diff --git a/po/sk.po b/po/sk.po index f5b219c..5747f28 100644 --- a/po/sk.po +++ b/po/sk.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-01-24 05:52-0500\n" +"POT-Creation-Date: 2005-01-26 10:58-0500\n" "PO-Revision-Date: 1999-04-08 21:37+02:00\n" "Last-Translator: Stanislav Meduna \n" "Language-Team: Slovak \n" diff --git a/po/sl.po b/po/sl.po index c3678c1..bcc8be3 100644 --- a/po/sl.po +++ b/po/sl.po @@ -1,13 +1,13 @@ # -*- mode:po; coding:iso-latin-2; -*- Slovenian messages for Redhat pkg. mngr. # Copyright (C) 2000 Free Software Foundation, Inc. # Primo¾ Peterlin , 2000. -# $Id: sl.po,v 1.389.2.10 2005/01/25 05:24:44 jbj Exp $ +# $Id: sl.po,v 1.389.2.11 2005/01/28 06:36:32 jbj Exp $ # msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-01-24 05:52-0500\n" +"POT-Creation-Date: 2005-01-26 10:58-0500\n" "PO-Revision-Date: 2000-10-08 19:05+0200\n" "Last-Translator: Grega Fajdiga \n" "Language-Team: Slovenian \n" diff --git a/po/sr.po b/po/sr.po index e5b36fa..7f50c2c 100644 --- a/po/sr.po +++ b/po/sr.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-01-24 05:52-0500\n" +"POT-Creation-Date: 2005-01-26 10:58-0500\n" "PO-Revision-Date: 2004-02-29 07:48+0500\n" "Last-Translator: unknown\n" "Language-Team: unknown\n" diff --git a/po/sv.po b/po/sv.po index af433aa..1a9e918 100644 --- a/po/sv.po +++ b/po/sv.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-01-24 05:52-0500\n" +"POT-Creation-Date: 2005-01-26 10:58-0500\n" "PO-Revision-Date: 2003-02-05 12:40+0100\n" "Last-Translator: Göran Uddeborg \n" "Language-Team: Swedish \n" diff --git a/po/tr.po b/po/tr.po index c44541b..7a3774a 100644 --- a/po/tr.po +++ b/po/tr.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-01-24 05:52-0500\n" +"POT-Creation-Date: 2005-01-26 10:58-0500\n" "PO-Revision-Date: 2001-07-05 08:02+300\n" "Last-Translator: Nilgun Belma Buguner \n" "Language-Team: Turkish \n" diff --git a/rpmio/rpmrpc.c b/rpmio/rpmrpc.c index b3a8f6f..033b2e4 100644 --- a/rpmio/rpmrpc.c +++ b/rpmio/rpmrpc.c @@ -1466,14 +1466,14 @@ fprintf(stderr, "*** Glob(%s,0x%x,%p,%p)\n", pattern, (unsigned)flags, (void *)e return -2; /*@notreached@*/ break; } - return xxglob(pattern, flags, errfunc, pglob); + return glob(pattern, flags, errfunc, pglob); } void Globfree(glob_t *pglob) { if (_rpmio_debug) fprintf(stderr, "*** Globfree(%p)\n", pglob); - xxglobfree(pglob); + globfree(pglob); } DIR * Opendir(const char * path) diff --git a/rpmio/stubs.c b/rpmio/stubs.c index 208fc6d..9294d3a 100644 --- a/rpmio/stubs.c +++ b/rpmio/stubs.c @@ -71,6 +71,8 @@ #endif #if defined(USE_GNU_GLOB) +#include "misc/fnmatch.h" #include "misc/fnmatch.c" +#include "misc/glob.h" #include "misc/glob.c" #endif