Eliminate trailing whitespace & typo in chmod

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

Eliminate trailing whitespace & typo in chmod

Alessandro Gallo
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.
  */
  if (fts_options & FTS_COMFOLLOW) {
- atflags = p->fts_level == FTS_ROOTLEVEL ? 0 :
+ atflags = p->fts_level == FTS_ROOTLEVEL ? 0 :
     AT_SYMLINK_NOFOLLOW;
  }
 

Reply | Threaded
Open this post in threaded view
|

Re: Eliminate trailing whitespace & typo in chmod

Theo de Raadt-2
>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.

Reply | Threaded
Open this post in threaded view
|

Re: Eliminate trailing whitespace & typo in chmod

Stuart Henderson
In reply to this post by Alessandro Gallo
On 2018/04/13 20:01, [hidden email] 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

Reply | Threaded
Open this post in threaded view
|

Re: Eliminate trailing whitespace & typo in chmod

Job Snijders-2
In reply to this post by Theo de Raadt-2
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
Reply | Threaded
Open this post in threaded view
|

Re: Eliminate trailing whitespace & typo in chmod

Theo de Raadt-2
In reply to this post by Alessandro Gallo
>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)

Reply | Threaded
Open this post in threaded view
|

Re: Eliminate trailing whitespace & typo in chmod

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 <[hidden email]> 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)
>