Subject: CVS commit: src/sys/compat
To: None <source-changes@NetBSD.org>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: source-changes
Date: 11/20/2003 22:05:25
Module Name:	src
Committed By:	manu
Date:		Thu Nov 20 22:05:25 UTC 2003

Modified Files:
	src/sys/compat/darwin: darwin_exec.c
	src/sys/compat/mach: mach_exec.c mach_exec.h

Log Message:
Avoid re-allocations of darwin_emuldata structures by COMPAT_MACH. This
caused a memory leak, and as mach_emuldata is shorter than darwin_emuldata,
it caused memory corruption.


To generate a diff of this commit:
cvs rdiff -r1.24 -r1.25 src/sys/compat/darwin/darwin_exec.c
cvs rdiff -r1.38 -r1.39 src/sys/compat/mach/mach_exec.c
cvs rdiff -r1.22 -r1.23 src/sys/compat/mach/mach_exec.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.