Stop profiling on exec.
Obtained from: NetBSD
This commit is contained in:
parent
7308467da9
commit
fdf4e8b30c
@ -23,7 +23,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: kern_exec.c,v 1.98 1999/04/19 14:14:09 peter Exp $
|
||||
* $Id: kern_exec.c,v 1.99 1999/04/27 11:15:55 phk Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -229,6 +229,9 @@ interpret:
|
||||
p->p_fd = tmp;
|
||||
}
|
||||
|
||||
/* Stop profiling */
|
||||
stopprofclock(p);
|
||||
|
||||
/* close files on exec */
|
||||
fdcloseexec(p);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user