From: Tommi Rantala <tt.rantala@gmail.com>
To: cocci@inria.fr
Cc: Tommi Rantala <tommi.rantala@cujo.com>
Subject: [cocci] [PATCH] Fix find -name flag when combining --c++ and --include-headers
Date: Tue, 7 Mar 2023 12:49:45 +0200 [thread overview]
Message-ID: <20230307104945.3125611-1-tt.rantala@gmail.com> (raw)
From: Tommi Rantala <tommi.rantala@cujo.com>
Should be "-name" not "name".
Signed-off-by: Tommi Rantala <tommi.rantala@cujo.com>
---
parsing_c/test_parsing_c.ml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/parsing_c/test_parsing_c.ml b/parsing_c/test_parsing_c.ml
index 97842072..2d30eda4 100644
--- a/parsing_c/test_parsing_c.ml
+++ b/parsing_c/test_parsing_c.ml
@@ -35,7 +35,7 @@ let get_files path =
(if !Flag.include_headers
then
"find "^ path ^" -name \"*.cpp\" -o -name \"*.cxx\" -o -name \"*.cc\""
- ^"-o name \"*.h\" -o -name \"*.hpp\" -o -name \"*.hxx\""
+ ^"-o -name \"*.h\" -o -name \"*.hpp\" -o -name \"*.hxx\""
else
"find "^ path ^" -name \"*.cpp\" -o -name \"*.cxx\" -o -name \"*.cc\"")
else
--
2.39.2
next reply other threads:[~2023-03-07 11:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-07 10:49 Tommi Rantala [this message]
2023-03-07 11:12 ` [cocci] [PATCH] Fix find -name flag when combining --c++ and --include-headers Julia Lawall
2023-03-07 11:14 ` Julia Lawall
2023-03-08 10:05 ` [cocci] Checking the software build dependency “bundles/pcre/pcre-ocaml/src/pcre.ml.in” Markus Elfring
2023-03-08 16:24 ` Markus Elfring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230307104945.3125611-1-tt.rantala@gmail.com \
--to=tt.rantala@gmail.com \
--cc=cocci@inria.fr \
--cc=tommi.rantala@cujo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).