Eliminate trailing whitespace & typo in chmod

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Eliminate trailing whitespace & typo in chmod

llgxela
> > Index: chmod.c
> > ===================================================================
> > RCS file: /cvs/src/bin/chmod/chmod.c,v
> > retrieving revision 1.42
> > diff -u -p -u -p -r1.42 chmod.c
> > --- chmod.c 28 May 2017 08:03:36 -0000 1.42
> > +++ chmod.c 13 Apr 2018 17:46:36 -0000
> > @@ -253,10 +253,10 @@ done:
> >
> > /*
> > * For -RH, the decision of how to handle symlinks depends
> > - * on the level: follow it iff it's a command line arg.
> > + * on the level: follow it if it's a command line arg.
> > */
>
> "iff" is not a typo.

Oops, sorry, my bad. I hope the following one is ok:

Index: chmod.c
===================================================================
RCS file: /cvs/src/bin/chmod/chmod.c,v
retrieving revision 1.42
diff -u -p -u -p -r1.42 chmod.c
--- chmod.c 28 May 2017 08:03:36 -0000 1.42
+++ chmod.c 13 Apr 2018 19:07:58 -0000
@@ -256,7 +256,7 @@ done:
  * on the level: follow it iff it's a command line arg.
  */
  if (fts_options & FTS_COMFOLLOW) {
- atflags = p->fts_level == FTS_ROOTLEVEL ? 0 :
+ atflags = p->fts_level == FTS_ROOTLEVEL ? 0 :
     AT_SYMLINK_NOFOLLOW;
  }