[PATCH 0/2] minor fixes
Bernhard Voelker <[email protected]>
| Newsgroups | gmane.comp.gnu.findutils.patches,gmane.comp.gnu.findutils.bugs |
|---|---|
| Message-ID | <[email protected]> |
commit d3097b33253ac99c42c1c62a537c47a922e00c0d Author: Bernhard Voelker <[email protected]> Date: Sun Apr 24 13:37:26 2022 +0200 doc: fix formatting typo in Texinfo manual * doc/find.texi (LC_COLLATE): Change man-style `\-name' to @samp{-name}. commit 36ec95c4d60f400a0a9e2e5bf4c749cc24239434 Author: Bernhard Voelker <[email protected]> Date: Sun Apr 24 13:37:00 2022 +0200 maint: fix code smell Detected by `make findutils-check-smells` (ironically for itself): error: ./Makefile.am:88: Spaces at start of makefile line * Makefile.am (findutils-check-smells): Fix tab indentation of the recipe, and re-indent for better reading.
0001-maint-fix-code-smell.patch
(text/x-patch, 1.9 KB)
From 36ec95c4d60f400a0a9e2e5bf4c749cc24239434 Mon Sep 17 00:00:00 2001 From: Bernhard Voelker <[email protected]> Date: Sun, 24 Apr 2022 13:37:00 +0200 Subject: [PATCH 1/2] maint: fix code smell Detected by `make findutils-check-smells` (ironically for itself): error: ./Makefile.am:88: Spaces at start of makefile line * Makefile.am (findutils-check-smells): Fix tab indentation of the recipe, and re-indent for better reading. --- Makefile.am | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/Makefile.am b/Makefile.am index a203c6c5..ed87082a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -80,17 +80,18 @@ findutils-check-testfiles: findutils-check-smells: - find $(srcdir) \( -path $(srcdir)/autom4te.cache -o \ - -path $(srcdir)/gnulib -o \ - -path $(srcdir)/gl -o \ - -path $(srcdir)/gnulib-tests -o \ - -name .git -o \ - \( -type d -name CVS \) \ - \) -prune -o \ - \( -type f -o -type l \) \ - \! \( -name '*~' -o -name '*.xo' -o -name '*.xi' \) \ - -print0 | \ - xargs -0 python $(AUXDIR)/src-sniff.py + find $(srcdir) \ + \( -path $(srcdir)/autom4te.cache -o \ + -path $(srcdir)/gnulib -o \ + -path $(srcdir)/gl -o \ + -path $(srcdir)/gnulib-tests -o \ + -name .git -o \ + \( -type d -name CVS \) \ + \) -prune -o \ + \( -type f -o -type l \) \ + \! \( -name '*~' -o -name '*.xo' -o -name '*.xi' \) \ + -print0 \ + | xargs -0 python $(AUXDIR)/src-sniff.py # Update gnulib to latest, merging some additional files we take from there # as well. This only works if the working tree of both findutils and gnulib -- 2.36.0
0002-doc-fix-formatting-typo-in-Texinfo-manual.patch
(text/x-patch, 902 B)
From d3097b33253ac99c42c1c62a537c47a922e00c0d Mon Sep 17 00:00:00 2001 From: Bernhard Voelker <[email protected]> Date: Sun, 24 Apr 2022 13:37:26 +0200 Subject: [PATCH 2/2] doc: fix formatting typo in Texinfo manual * doc/find.texi (LC_COLLATE): Change man-style `\-name' to @samp{-name}. --- doc/find.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/find.texi b/doc/find.texi index 0cc25504..1f295837 100644 --- a/doc/find.texi +++ b/doc/find.texi @@ -4174,7 +4174,7 @@ other internationalisation variables. @item LC_COLLATE The POSIX standard specifies that this variable affects the pattern -matching to be used for the `\-name' option. GNU find uses the +matching to be used for the @samp{-name} option. GNU find uses the GNU version of the @code{fnmatch} library function. This variable also affects the interpretation of the response to -- 2.36.0