findutils/backport-maint-fix-typo-in-comments-in-parser.c.patch
zhoushuiqing 5cdfca770e fix typo in comments in parser.c
(cherry picked from commit 83b8c1844c729bc0605cfcc3caa4cdd6661d60dc)
2022-10-25 20:18:58 +08:00

39 lines
1.5 KiB
Diff

From 6a56f165c5f6749f385d54da801a49f2120c6dd1 Mon Sep 17 00:00:00 2001
From: Bernhard Voelker <mail@bernhard-voelker.de>
Date: Thu, 22 Apr 2021 21:38:34 +0200
Subject: [PATCH] maint: fix typo in comments in parser.c
* find/parser.c: s/fnd/find/; s/consiming/consuming/
Reference:https://git.savannah.gnu.org/cgit/findutils.git/commit/?id=6a56f165c5f6749f385d54da801a49f2120c6dd1
Conflict:NA
---
find/parser.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/find/parser.c b/find/parser.c
index 85469827..1ebf2548 100644
--- a/find/parser.c
+++ b/find/parser.c
@@ -431,7 +431,7 @@ check_option_combinations (const struct predicate *p)
/* The user specified both -delete and -prune. One might test
* this by first doing
* find dirs .... -prune ..... -print
- * to fnd out what's going to get deleted, and then switch to
+ * to find out what's going to get deleted, and then switch to
* find dirs .... -prune ..... -delete
* once we are happy. Unfortunately, the -delete action also
* implicitly turns on -depth, which will affect the behaviour
@@ -2904,7 +2904,7 @@ insert_exec_ok (const char *action,
{
allow_plus = false;
/* If find reads stdin (i.e. for -ok and similar), close stdin
- * in the child to prevent some script from consiming the output
+ * in the child to prevent some script from consuming the output
* intended for find.
*/
execp->close_stdin = true;
--
2.33.0