Date: Sat, 10 Oct 1998 12:18:31 -0700 (PDT) From: Bruce Evans <bde@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/usr.bin/mail popen.c Message-ID: <199810101918.MAA27904@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 1998/10/10 12:18:31 PDT
Modified files:
usr.bin/mail popen.c
Log:
vfork -> fork. This home made popen() had the same bug as the library
popen(), but worse. The child calls execvp(), which calls malloc()
a bit more than execl(), and it calls non-library functions that call
malloc() and who-knows-what else (stdio is called in at least some
error cases).
Revision Changes Path
1.2 +1 -1 src/usr.bin/mail/popen.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810101918.MAA27904>
