package/makedevs: allow recursive on directory with symlinks
Status from this message: Applied to master, thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 5 repliesApplied
- v22 patches 6 repliesSuperseded
- v11 patch 0 repliesSuperseded
Changes in v3 from the cover letter
- Problem only applies to *dangling* symlinks, feedback from Arnout Patch updated to skip chmod() on symlinks that cannot be accessed
- Import .clang-format file from Linux 5.15.6, suggestion by Arnout
- Employ clang-format to improve coding style cleanup, see commit notes for exceptions made
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | package/makedevs: allow recursive on directory with dangling symlinkspackage/ | +5 | 1 reply | |
| 2/3 | .clang-format: initial import from Linux 5.15.6.clang-format | +566 | 1 reply | |
| 3/3 | package/makedevs: coding style and whitespace cleanuppackage/ | +60 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [Buildroot] [PATCH v3 0/3] package/makedevs: allow recursive on directory with symlinks
Hi,
take three on fixing the problem with, as it turns out, *dangling*, symlinks when running makedevs recursively on a directory. Thanks to Arnout for pointing this out!
As started in v2, this patch set includes a coding style cleanup, and now also with a first .clang-format for Buildroot, as suggested by Arnout. I've not enforced it strictly on the code base, e.g. max line lengths caused a way too big diff.
Best regards
/Joachim
---
v3:
- Problem only applies to *dangling* symlinks, feedback from Arnout Patch updated to skip chmod() on symlinks that cannot be accessed
- Import .clang-format file from Linux 5.15.6, suggestion by Arnout
- Employ clang-format to improve coding style cleanup, see commit notes for exceptions made
v2:
- Use lchown() instead on symlinks, feedback from Yann
- Initial coding style cleanup
v1:
- Skip recursive chown() and chmod() on all symlinks
Joachim Wiberg (3):
package/makedevs: allow recursive on directory with dangling symlinks .clang-format: initial import from Linux 5.15.6 package/makedevs: coding style and whitespace cleanup
.clang-format | 566 ++++++++++++++++++++++++++++++++++++ package/makedevs/makedevs.c | 119 ++++---- 2 files changed, 631 insertions(+), 54 deletions(-) create mode 100644 .clang-format
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot