From owner-freebsd-questions Thu Feb 14 10: 8:52 2002 Delivered-To: freebsd-questions@freebsd.org Received: from federation.addy.com (addyandassociates.com [208.11.142.20]) by hub.freebsd.org (Postfix) with ESMTP id A931C37B417 for ; Thu, 14 Feb 2002 10:08:47 -0800 (PST) Received: from localhost (jim@localhost) by federation.addy.com (8.9.3/8.9.3) with ESMTP id NAA45326 for ; Thu, 14 Feb 2002 13:08:46 -0500 (EST) (envelope-from jim@federation.addy.com) Date: Thu, 14 Feb 2002 13:08:46 -0500 (EST) From: Jim Sander Cc: freebsd-questions@FreeBSD.ORG Subject: Re: /etc/mail/Makefile and virtusertable.db In-Reply-To: <3C6A7EFF.10216.BAE65BE@localhost> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > rename "temp.virtusertable", "/etc/mail/virtusertable"; > > system("cd /etc/mail; make"); Thanks for the few who have suggested things- unfortunately none of them worked. (most of them had already been tried) Fortunately I found the problem though... Much to my chagrin, I noticed that I never closed the temporary file that I then renamed. Because of output buffering, that's a bad idea. I have (again) learned this first hand- but now I'll put it into the archive so the next time I search for it I can find something. :) Learn from my mistake- always close files! Thanks all. -=Jim=- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message