From owner-freebsd-hackers Fri Jan 12 8:14:45 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 78C6B37B401 for ; Fri, 12 Jan 2001 08:14:25 -0800 (PST) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f0CGEM924783; Fri, 12 Jan 2001 08:14:22 -0800 (PST) Date: Fri, 12 Jan 2001 08:14:22 -0800 From: Alfred Perlstein To: "W.H.Scholten" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: pppd & mkdir diff Message-ID: <20010112081422.U7240@fw.wintelcom.net> References: <3A5C843C.794BDF32@xs4all.nl> <20010111132509.J7240@fw.wintelcom.net> <3A5EE6B1.41C67EA6@xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A5EE6B1.41C67EA6@xs4all.nl>; from whs@xs4all.nl on Fri, Jan 12, 2001 at 11:12:49AM +0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * W.H.Scholten [010112 03:13] wrote: > Alfred Perlstein wrote: > > > > 1. a pppd patch which sends the pppd messages to stderr. > > > > not sure about this one, I would open a PR about it. > > I'm not sure either :) Maybe everyone else uses gui frontend which reads > pppd's syslog messages or starts pppd as root? Open a PR, someone will get to it. :) > > > Ok, I may be misreading this, but this doesn't fix it really: > > > > mkdir /tmp/a/b/c/d/e/f/s > > > > perhaps if you called "stat" in a loop to on each patch component > > until it failed you'd be able to trim off the directory paths > > one by one. > > I don't think it's useful for mkdir to check which exact part of the > path of the parent directory does exist. The fix just makes mkdir say > the parent directory doesn't exist (instead of the previously wierd "the > dir you wanted me to create doesn't exist" type of error message :). Good point, I'll commit the patch shortly. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message