pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/38488: "pkg_install" package shouldn't use Mac OS X Leopard's warnx(3)

On Wed, Apr 23, 2008 at 11:50:02AM +0000, Joerg Sonnenberger wrote:
 > On Wed, Apr 23, 2008 at 08:50:00AM +0000, wrote:
 >> "pkg_install" uses warnx(3) a lot the problem is that it behaves
 >> differently under Mac OS X Leopard:
 >  The difference is whether it prints a trailing \n or that it doesn't
 >  interpret escape sequences?

It can't (reasonably) not interpret escape sequences, since the
compiler does that. Maybe it sends its output through vis(3)?

...however, since in general messages passed to warnx() shouldn't
contain explicit newlines, maybe the real problem is that pkg_install
does this somewhere?

David A. Holland

Home | Main Index | Thread Index | Old Index