]> git.pld-linux.org Git - packages/file.git/blame - file-magic-path.patch
- updated to 4.12, removed obsolete mime-elf,readelf-fix,segv patches
[packages/file.git] / file-magic-path.patch
CommitLineData
4902119c
JB
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.064644 seconds and 4 git commands to generate.