]> git.ipfire.org Git - thirdparty/coreutils.git/commit
chmod now uses fts to perform a directory traversal when -R is
authorJim Meyering <jim@meyering.net>
Sun, 19 Oct 2003 18:54:10 +0000 (18:54 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 19 Oct 2003 18:54:10 +0000 (18:54 +0000)
commit96a5d2ce6a53d96cb667af78f13e56fadcdb91e6
treee40e6b3e76a59dab4d690097018b399589f9498d
parentab915393983e53e2072a0b80b4cc156e56d8c317
chmod now uses fts to perform a directory traversal when -R is
specified.  Before, it operated on full path names, and as such
would encounter the PATH_MAX (often 4096) limit.

Include "xfts.h".
(process_file): Rename from change_file_mode.
Adapt to be used with fts.
(process_files): New function.
src/chmod.c