From owner-cvs-all Sat Oct 10 12:18:33 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA18581 for cvs-all-outgoing; Sat, 10 Oct 1998 12:18:33 -0700 (PDT) (envelope-from owner-cvs-all) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA18570; Sat, 10 Oct 1998 12:18:32 -0700 (PDT) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id MAA27904; Sat, 10 Oct 1998 12:18:31 -0700 (PDT) Date: Sat, 10 Oct 1998 12:18:31 -0700 (PDT) Message-Id: <199810101918.MAA27904@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/usr.bin/mail popen.c Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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