From owner-cvs-all Fri Aug 6 1:34:47 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 4D425152ED; Fri, 6 Aug 1999 01:34:44 -0700 (PDT) (envelope-from brian@FreeBSD.org) Received: (from brian@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id BAA78839; Fri, 6 Aug 1999 01:34:44 -0700 (PDT) (envelope-from brian@FreeBSD.org) Message-Id: <199908060834.BAA78839@freefall.freebsd.org> From: Brian Somers Date: Fri, 6 Aug 1999 01:34:44 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/contrib/nvi/common exf.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk brian 1999/08/06 01:34:44 PDT Modified files: contrib/nvi/common exf.c Log: Set the close-on-exec flag when we lock the file we're editing. This prevents any background sub-command executed from inheriting the descriptor & lock (and making vi think that someone else is editing the file when it re-edits). Remembered from: An OpenBSD commit message from May '99 Revision Changes Path 1.2 +10 -3 src/contrib/nvi/common/exf.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message