Subject: Bug in compat sunos?
To: None <port-sparc@NetBSD.ORG>
From: Krister Walfridsson <cato@df.lth.se>
List: port-sparc
Date: 08/24/1996 19:36:08
Hi!

I think I have found a bug in compat_sunos. If I understand the 
compat_sunos source, the little program below should try to run 
/emul/sunos/bin/as before it tries /bin/as. But it doesn't look
in /emul/sunos at all...

#include <stdio.h>

int
main(int argc, char *argv[])
{
  char *f = "/bin/as"; 
  
  execv(f, argv);
  fprintf(stderr, "Cannot exec %s\n", f);
  exit(1);
}


By the way... The sparc page on www.netbsd.org says that there should
be a compat_svr4 man page, but I doesn't have such a beast. Where can 
I find it?

   /Krister