Subject: Re: mkdir with trailing / (patch proposed) To: Bill Sommerfeld <sommerfeld@netbsd.org> From: Bill Studenmund <wrstuden@netbsd.org> List: tech-kern Date: 04/29/2002 14:34:06
Oh, one fix to the patch is that it should be:
+ if ((cnp->cn_flags & REQUIREDIR) &&
+ ((cnp->cn_flags & NOREQLAST) == 0 ||
+ (cnp->cn_flags & ISLASTCN) == 0)) {
cn_flags && ISLASTCN isn't right...
Take care,
Bill