littleblank / naclports

Automatically exported from code.google.com/p/naclports
0 stars 0 forks source link

nacl-spawn vfork should not fail if executable is not found. #232

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
vfork should always returns a valid PID even if the exec that follows fails.

For example if 'cc' is missing I get the following output from make:

$ make foo.o
cc    -c -o foo.o foo.c
make: vfork: Function not implemented

This is because vfork is returning -1.

Instead I would expect to see:

make: cc: Command not found

Original issue reported on code.google.com by sbc@google.com on 13 Aug 2015 at 10:57

GoogleCodeExporter commented 9 years ago

Original comment by sbc@google.com on 13 Aug 2015 at 10:58