]> git.ipfire.org Git - thirdparty/coreutils.git/commit
Include "chown-core.h".
authorJim Meyering <jim@meyering.net>
Sat, 9 Dec 2000 20:38:01 +0000 (20:38 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 9 Dec 2000 20:38:01 +0000 (20:38 +0000)
commit5a795ec749c281ba7dbc5a60604ef033a0fa041e
treea68bce4e58b7a3e255cc84314d4ba3343df9ddf9
parentd26ef4e978e5461f262e4208d8e11f96ea601c6c
Include "chown-core.h".
[enum Change_status, enum Verbosity]: Remove declarations.
Remove decls of globals that are now part of struct Chown_option.
Remove decl of xstat.
(describe_change): Remove function.
(change_file_group): Likewise.
(change_dir_group): Likewise.
(parse_group): Don't set global, groupname, here...
(main): ... instead, initialize `chopt.group_name' here.
Initialize chopt and update uses of the now-members.
Set group_name also when it's obtained via a --reference=FILE option.
Call change_file_owner (with -1 for uids), not change_file_group.
src/chgrp.c