Re: Eliminate trailing whitespace & typo in chmod

2018-04-14 Thread Zbyszek Żółkiewski
guys, I learn from this list so much beside technical stuff! 

Glad i am here
_
Zbyszek Żółkiewski

> Wiadomość napisana przez Theo de Raadt  w dniu 
> 14.04.2018, o godz. 09:23:
> 
>> https://en.wikipedia.org/wiki/If_and_only_if
>> 
>> As a non-native speaker, it took some years before I realized the use of
>> "iff" is not a typo.
> 
> And now you either find your own language has a similar linguistic
> tool, or you miss the strictness of the phrase?
> 
> (42)
> 



Re: Eliminate trailing whitespace & typo in chmod

2018-04-14 Thread Theo de Raadt
>https://en.wikipedia.org/wiki/If_and_only_if
>
>As a non-native speaker, it took some years before I realized the use of
>"iff" is not a typo.

And now you either find your own language has a similar linguistic
tool, or you miss the strictness of the phrase?

(42)



Re: Eliminate trailing whitespace & typo in chmod

2018-04-13 Thread Job Snijders
https://en.wikipedia.org/wiki/If_and_only_if

As a non-native speaker, it took some years before I realized the use of
“iff” is not a typo.

Kind regards,

Job


Re: Eliminate trailing whitespace & typo in chmod

2018-04-13 Thread Stuart Henderson
On 2018/04/13 20:01, llgx...@gmail.com wrote:
> -  * 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 = "if and only if"

http://mathworld.wolfram.com/Iff.html
https://en.wikipedia.org/wiki/If_and_only_if



Eliminate trailing whitespace & typo in chmod

2018-04-13 Thread 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 -  1.42
> > +++ chmod.c 13 Apr 2018 17:46:36 -
> > @@ -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 -  1.42
+++ chmod.c 13 Apr 2018 19:07:58 -
@@ -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;
}
 



Re: Eliminate trailing whitespace & typo in chmod

2018-04-13 Thread Theo de Raadt
>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.c28 May 2017 08:03:36 -  1.42
>+++ chmod.c13 Apr 2018 17:46:36 -
>@@ -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.



Eliminate trailing whitespace & typo in chmod

2018-04-13 Thread 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 -  1.42
+++ chmod.c 13 Apr 2018 17:46:36 -
@@ -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.
 */
if (fts_options & FTS_COMFOLLOW) {
-   atflags = p->fts_level == FTS_ROOTLEVEL ? 0 : 
+   atflags = p->fts_level == FTS_ROOTLEVEL ? 0 :
AT_SYMLINK_NOFOLLOW;
}