From 0e81b6b48ee7bf9b7eb6a0d8711acfb3786cce34 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 15 Dec 2000 13:29:56 +0000 Subject: (main): Reflect renaming: s/dereference/change_symlinks/. --- src/chgrp.c | 6 ++---- src/chown.c | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/chgrp.c b/src/chgrp.c index e1689d8cc..7bb052511 100644 --- a/src/chgrp.c +++ b/src/chgrp.c @@ -53,8 +53,6 @@ struct group *getgrnam (); # define endgrent() ((void) 0) #endif -int lstat (); - /* The name the program was run with. */ char *program_name; @@ -180,7 +178,7 @@ main (int argc, char **argv) reference_file = optarg; break; case DEREFERENCE_OPTION: - chopt.change_symlinks = 0; + chopt.dereference = DEREF_ALWAYS; break; case 'R': chopt.recurse = 1; @@ -192,7 +190,7 @@ main (int argc, char **argv) chopt.force_silent = 1; break; case 'h': - chopt.change_symlinks = 1; + chopt.dereference = DEREF_NEVER; break; case 'v': chopt.verbosity = V_high; diff --git a/src/chown.c b/src/chown.c index 838332c69..a5bc1f8e0 100644 --- a/src/chown.c +++ b/src/chown.c @@ -166,7 +166,7 @@ main (int argc, char **argv) reference_file = optarg; break; case DEREFERENCE_OPTION: - chopt.change_symlinks = 0; + chopt.dereference = DEREF_ALWAYS; break; case FROM_OPTION: { @@ -188,7 +188,7 @@ main (int argc, char **argv) chopt.force_silent = 1; break; case 'h': - chopt.change_symlinks = 1; + chopt.dereference = DEREF_NEVER; break; case 'v': chopt.verbosity = V_high; -- cgit v1.2.3-70-g09d2