>there must be a bug in rc. Or maybe it does tail call elimination :) 2015-01-25 10:04 GMT+01:00 arisawa : > thank you, mischief. > > considering after I have posted previous mail, > I have come to think that the script below should fail with error and stop > execution. > > maia% cat foo > #!/bin/rc > ./foo > maia% > > current rc does not stop execution. > probably not due to protection problem by kernel. > there must be a bug in rc. > > Kenji Arisawa > > > 2015/01/25 15:16、arisawa のメール: > > > > > > Hello 9fans > > > > my mac has a protection below: > > -bash$ cat foo > > #!/bin/sh > > ./foo > > -bash$ ./foo > > ./foo: fork: Resource temporarily unavailable > > -bash$ > > > > on the other hand, Plan 9 does not. > > kernel is protected against such programs, however they are not killed. > > therefore no new process can be created. > > > > does anyone have idea to fix the problem? > > > > Kenji Arisawa > > > > > > >