Subject: shell `exec' command.
To: None <J.K.Wight@newcastle.ac.uk>
From: Bill Sommerfeld <sommerfeld@orchard.medford.ma.us>
List: netbsd-users
Date: 03/27/1995 09:17:58
However, under NetBSD the temporary PATH appears not not to be used
in locating the executable (second script), with the result that
the initial script keeps on re-finding itself, and the system
eventually runs out of file descriptors.
A bug?
No, two:
- `exec' should not cause a file descriptor leak.
- the revised $PATH should be used to find the second `script'
command (what you reported).
- Bill