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)



The following reply was made to PR pkg/38488; it has been noted by GNATS.

From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
pkgsrc-bugs%netbsd.org@localhost,
        tron%zhadum.org.uk@localhost
Subject: Re: pkg/38488: "pkg_install" package shouldn't use Mac OS X
        Leopard's warnx(3)
Date: Wed, 23 Apr 2008 12:30:18 +0000

 On Wed, Apr 23, 2008 at 11:50:02AM +0000, Joerg Sonnenberger wrote:
  > On Wed, Apr 23, 2008 at 08:50:00AM +0000, tron%zhadum.org.uk@localhost 
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
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index