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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to