diff options
author | Jim Meyering <jim@meyering.net> | 2000-12-15 13:27:03 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-12-15 13:27:03 +0000 |
commit | 694c6b3a86148ee5e50b3fac9e80540fb1325b2a (patch) | |
tree | 107e76c1fffd8ce587c8cb6e2205c78fbcb4e113 | |
parent | 9724aab7a65d8831d3322b1ed196b627b4b006ba (diff) | |
download | coreutils-694c6b3a86148ee5e50b3fac9e80540fb1325b2a.tar.xz |
(enum Dereference_symlink): rename member: s/change_symlinks/dereference/
-rw-r--r-- | src/chown-core.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/chown-core.h b/src/chown-core.h index 9b6071055..40f96ac8b 100644 --- a/src/chown-core.h +++ b/src/chown-core.h @@ -38,6 +38,14 @@ enum Verbosity V_off }; +enum Dereference_symlink +{ + DEREF_UNDEFINED = 1, + DEREF_NEVER, /* -P */ + DEREF_COMMAND_LINE_ARGUMENTS, /* -H */ + DEREF_ALWAYS /* -L */ +}; + struct Chown_option { /* Level of verbosity. */ @@ -46,9 +54,9 @@ struct Chown_option /* If nonzero, change the ownership of directories recursively. */ int recurse; - /* If nonzero, and the systems has support for it, change the ownership - of symbolic links rather than any files they point to. */ - int change_symlinks; + /* This is useful only on systems with support for changing the + ownership of symbolic links. */ + enum Dereference_symlink dereference; /* If nonzero, force silence (no error messages). */ int force_silent; |