Date: Sun, 5 Nov 2000 10:13:12 +0100 (CET) From: Stefan Moeding <s.moeding@ndh.net> To: freebsd-hackers@freebsd.org Subject: Bogus filename error with pkg_add Message-ID: <200011050913.eA59DCM02249@elan.firekeys.org>
next in thread | raw e-mail | index | archive | help
Hi!
I'm working on a port which tries to install some files containing a "'"
character in the filename. The ports system works well but when I
create the package and try to install it with pkg_add it bombs with a
"Bogus filename" message.
The code in /usr/src/usr.sbin/pkg_install/add/extract.c looks like this:
if (strrchr(p->name,'\'')) {
cleanup(0);
errx(2, __FUNCTION__ ": Bogus filename \"%s\"", p->name);
}
I know that "'" might not be the best character for filenames but what
exactly is the reason for pkg_add not allowing those characters? After
all the installation as a port works fine.
Stefan
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011050913.eA59DCM02249>
