From owner-freebsd-hackers Sun Jan 14 4:11: 3 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 A46D637B401 for ; Sun, 14 Jan 2001 04:10:43 -0800 (PST) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f0ECAfa28882; Sun, 14 Jan 2001 04:10:41 -0800 (PST) Date: Sun, 14 Jan 2001 04:10:41 -0800 From: Alfred Perlstein To: "W.H.Scholten" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: pppd & mkdir diff Message-ID: <20010114041041.M7240@fw.wintelcom.net> References: <3A5C843C.794BDF32@xs4all.nl> <20010111132509.J7240@fw.wintelcom.net> <3A5EE6B1.41C67EA6@xs4all.nl> <20010112081422.U7240@fw.wintelcom.net> <3A6025F1.794BDF32@xs4all.nl> <20010113191432.G7240@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010113191432.G7240@fw.wintelcom.net>; from bright@wintelcom.net on Sat, Jan 13, 2001 at 07:14:32PM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Alfred Perlstein [010113 19:15] wrote: > * W.H.Scholten [010113 01:57] wrote: > > Alfred Perlstein wrote: > > > > [ mkdir ] > > > > > I'll commit the patch shortly. > > > > Here's a better patch, it checks for multiple slashes, so mkdir > > /tmp/aa///bb//// will give: > > > > mkdir: /tmp/aa: No such file or directory > > > > Also, renamed the function to dirname as it does the same as dirname(1). > > Actually, there already exists a function called dirname in libc, dirname(3). > > Here's what I'm going to commit: Ok, this is in the tree (mkdir fix), thanks for taking the time to bring it to our attention and for supplying a fix. It's always nice to see error reporting that makes sense. :) -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message