Date: Sun, 20 Sep 1998 15:01:06 +0100 (BST) From: Doug Rabson <dfr@nlsystems.com> To: current@FreeBSD.ORG Subject: vfork and malloc Message-ID: <Pine.BSF.4.01.9809201458240.28425-100000@herring.nlsystems.com>
next in thread | raw e-mail | index | archive | help
Is it safe to call malloc in the child process after a vfork? I have been trying to debug a rare fault in make which goes away when I change the vfork() in src/usr.bin/make/compat.c to fork(). After the vfork, it calls execvp() which allocates memory via strdup(). -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.01.9809201458240.28425-100000>