]> git.pld-linux.org Git - packages/file.git/blob - file-magic-path.patch
- missing pyreqeq, rel 2
[packages/file.git] / file-magic-path.patch
1 --- file-4.00/src/apprentice.c.orig     Mon Mar 24 02:16:28 2003
2 +++ file-4.00/src/apprentice.c  Tue Mar 25 23:54:10 2003
3 @@ -1068,9 +1068,9 @@
4  mkdbname(struct magic_set *ms, const char *fn, char *buf, size_t bufsiz)
5  {
6         const char *p;
7 -       if ((p = strrchr(fn, '/')) != NULL)
8 +/*     if ((p = strrchr(fn, '/')) != NULL)
9                 p++;
10 -       else
11 +       else */  /* huh? why searching .mck in current directory??? */
12                 p = fn;
13         snprintf(buf, bufsiz, "%s%s", p, ext);
14         return buf;
This page took 0.189708 seconds and 3 git commands to generate.