diff options
author | Wez Furlong <wez@php.net> | 2002-10-04 19:01:34 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2002-10-04 19:01:34 +0000 |
commit | c429805e0bbc9c0e03a4da33f2a92a8fcc4057fa (patch) | |
tree | 590dfc3b18224e8d58b1f25094ff359db2d34733 | |
parent | 9c5883bdf658111c389813b6134633c354452a12 (diff) | |
download | php-git-c429805e0bbc9c0e03a4da33f2a92a8fcc4057fa.tar.gz |
Make that error message more meaningful for systems like my SuSE 7.0 with
an apparently broken magic file.
-rw-r--r-- | ext/mime_magic/mime_magic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mime_magic/mime_magic.c b/ext/mime_magic/mime_magic.c index ff33ac1aa1..247e8cca33 100644 --- a/ext/mime_magic/mime_magic.c +++ b/ext/mime_magic/mime_magic.c @@ -465,7 +465,7 @@ static int parse(char *l, int lineno) m->offset = (int) strtol(l, &t, 0); if (l == t) { php_error(E_WARNING, - MODNAME ": offset %s invalid", l); + MODNAME ": (line %d) offset `%s' invalid", lineno, l); } l = t; |