Path: utzoo!attcan!uunet!lll-winken!ames!haven!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.bugs.4bsd Subject: exect() is bogus Message-ID: <15506@mimsy.UUCP> Date: 18 Jan 89 06:29:44 GMT Reply-To: chris@mimsy.umd.edu (Chris Torek) Organization: University of Maryland, Dept. of Computer Sci. Lines: 20 Index: bin/adb/adb.vax/runpcs.c 4.3BSD-tahoe Fix Description: The exect() `system call', which adb uses to start binaries on the VAX, is unnecessary and leads to incorrect behaviour if the exec() fails. Repeat-by: % adb no-such-file cannot open `no-such-file' :s stopped at : jmp Fix: After ptrace(PT_TRACE_ME), a simple execve() suffices. Change the one occurrence in adb, and any others you find anywhere else. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris