Date: Sun, 29 Aug 1999 21:27:12 +0200 (SAT) From: John Hay <jhay@mikom.csir.co.za> To: obrien@FreeBSD.org Cc: freebsd@gndrsh.dnsmgr.net (Rodney W. Grimes), mharo@FreeBSD.org (Michael Haro), cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/bin/rm rm.1 rm.c Message-ID: <199908291927.VAA37960@zibbi.mikom.csir.co.za> In-Reply-To: <19990829114222.B14701@dragon.nuxi.com> from "David O'Brien" at "Aug 29, 1999 11:42:22 am"
next in thread | previous in thread | raw e-mail | index | archive | help
> > > Reviewed by: obrien > > > > Either of you care to make any comments about this: (There is a second > > report of it as well) > > Na. I'd rather just fix it. > This seems to fix it for me. John -- John Hay -- John.Hay@mikom.csir.co.za Index: rm.c =================================================================== RCS file: /home/ncvs/src/bin/rm/rm.c,v retrieving revision 1.22 diff -u -r1.22 rm.c --- rm.c 1999/08/29 02:20:26 1.22 +++ rm.c 1999/08/29 18:57:59 @@ -235,7 +235,7 @@ switch (p->fts_info) { case FTS_DP: case FTS_DNR: - if ((e=rmdir(p->fts_accpath)) || (fflag && errno == ENOENT)) { + if (!(e=rmdir(p->fts_accpath)) || (fflag && errno == ENOENT)) { if (e == 0 && vflag) (void)printf("%s\n", p->fts_accpath); continue; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908291927.VAA37960>