Subject: pkg_add broken by add/extract.c:1.37 & lib/lib.h:1.79
To: None <current-users@netbsd.org>
From: Geoff Wing <mason@primenet.com.au>
List: current-users
Date: 11/28/2005 01:21:07
lib.h:
#ifndef PAX_CMD        
#define PAX_CMD "tar"
#endif

add/extract.c: pushout()
      /* set up arguments to run "pax -r -w -p e" */
      file_args[0] = strrchr(PAX_CMD, '/');

Actual running of pkg_add 
...
tar: Failed open to read/write on /dev/nrst0 (Device not configured)
tar: Unexpected EOF on archive file
...

Changing PAX_CMD to "pax" works fine for me.  Pasto problem?

Regards,
Geoff