Re: [cocci] [PATCH v1] Substitute LIBDIR for file paths
Victor Gambier <[email protected]> Thu, 12 Feb 2026 16:45:02 +0100
| Newsgroups | fr.inria.cocci |
|---|---|
| Message-ID | <[email protected]> |
Looks good. I just merged it, thanks for the patch! On 2/12/26 14:42, Olaf Hering wrote: > LIBDIR is already used earlier in this file, but such usage was > apparently overlooked in commit 99d699e8eaf5ba49faf5ac55584e24357580df50. > > Signed-off-by: Olaf Hering <[email protected]> > --- > docs/spatch.1.in | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/docs/spatch.1.in b/docs/spatch.1.in > index e54150402..37975f330 100644 > --- a/docs/spatch.1.in > +++ b/docs/spatch.1.in > @@ -166,13 +166,13 @@ set number of diff context lines > report partial matches of the SP on the C file > .TP > \fB\-\-iso\-file\fR > -<file> (default=/usr/local/lib/coccinelle/standard.iso) > +<file> (default=@LIBDIR@/standard.iso) > .TP > \fB\-\-macro\-file\fR > <file> > .TP > \fB\-\-macro\-file\-builtins\fR > -<file> (default=/usr/local/lib/coccinelle/standard.h) > +<file> (default=@LIBDIR@/standard.h) > .TP > \fB\-\-recursive\-includes\fR > causes all available include files, both those included in the C file(s) and those included in header files, to be used