Age | Commit message (Collapse) | Author | |
---|---|---|---|
2000-12-15 | *** empty log message *** | Jim Meyering | |
2000-12-15 | . | Jim Meyering | |
2000-12-15 | (main): Reflect renaming: s/dereference/change_symlinks/. | Jim Meyering | |
2000-12-15 | (enum Dereference_symlink): rename member: s/change_symlinks/dereference/ | Jim Meyering | |
2000-12-15 | Declare lstat. | Jim Meyering | |
Rename change_symlinks member to `dereference' and use the DEREF_* enum values. (describe_change): Merge the chgrp and chown switch statements. Use xmalloc to form the `user:group' string. (change_file_owner): Record (and later, use) is_symlink and is_directory from the lstat stats, in order to control whether we operate on symlinks and whether (with -R) we traverse symlinks to directories. When dereferencing, use open/fchown (rather than chown) on symlinks. | |||
2000-12-15 | changed messages to match those chgrp now produces | Jim Meyering | |
2000-12-14 | *** empty log message *** | Jim Meyering | |
2000-12-14 | *** empty log message *** | Jim Meyering | |
2000-12-14 | *** empty log message *** | Jim Meyering | |
2000-12-13 | *** empty log message *** | Jim Meyering | |
2000-12-13 | *** empty log message *** | Jim Meyering | |
2000-12-10 | *** empty log message *** | Jim Meyering | |
2000-12-10 | *** empty log message *** | Jim Meyering | |
2000-12-10 | add envvar and lang checks | Jim Meyering | |
2000-12-10 | *** empty log message *** | Jim Meyering | |
2000-12-10 | *** empty log message *** | Jim Meyering | |
2000-12-10 | give a better diagnostic when only the group is being changed | Jim Meyering | |
2000-12-09 | . | Jim Meyering | |
2000-12-09 | *** empty log message *** | Jim Meyering | |
2000-12-09 | *** empty log message *** | Jim Meyering | |
2000-12-09 | . | Jim Meyering | |
2000-12-09 | *** empty log message *** | Jim Meyering | |
2000-12-09 | (jm_MACROS): Remove jm_SYS_OFF_T_PRINTF_FORMAT. | Jim Meyering | |
2000-12-09 | . | Jim Meyering | |
2000-12-09 | . | Jim Meyering | |
2000-12-09 | (chopt_free): don't free anything | Jim Meyering | |
2000-12-09 | *** empty log message *** | Jim Meyering | |
2000-12-09 | *** empty log message *** | Jim Meyering | |
2000-12-09 | *** empty log message *** | Jim Meyering | |
2000-12-09 | Include "chown-core.h". | Jim Meyering | |
[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. | |||
2000-12-09 | add 3 more prototypes | Jim Meyering | |
2000-12-09 | Include <pwd.h>, <grp.h>, and "xalloc.h". | Jim Meyering | |
[!_POSIX_VERSION]: Declare getgrnam and getgrgid. (gid_to_name): New function. (uid_to_name): Likewise. (chopt_free): Likewise. | |||
2000-12-09 | Don't include pwd.h or grp.h -- no longer needed. | Jim Meyering | |
Include chown-core.h. [enum Change_status, enum Verbosity]: Remove declarations. Remove decls of globals that are now part of struct Chown_option. (describe_change): Remove function. (change_file_owner): Likewise. (change_dir_owner): Likewise. (main): Initialize chopt and update uses of the now-members. Set user_name and group_name also when they're obtained via a --reference=FILE option. Pass `chopt' to change_file_owner. | |||
2000-12-09 | *** empty log message *** | Jim Meyering | |
2000-12-09 | *** empty log message *** | Jim Meyering | |
2000-12-09 | *** empty log message *** | Jim Meyering | |
2000-12-09 | *** empty log message *** | Jim Meyering | |
2000-12-09 | *** empty log message *** | Jim Meyering | |
2000-12-09 | *** empty log message *** | Jim Meyering | |
2000-12-09 | *** empty log message *** | Jim Meyering | |
2000-12-09 | *** empty log message *** | Jim Meyering | |
2000-12-09 | *** empty log message *** | Jim Meyering | |
2000-12-09 | *** empty log message *** | Jim Meyering | |
2000-12-09 | (change_file_owner): Restore special file permission | Jim Meyering | |
bits, since calling chown resets them on some systems. Reported by Matt Perry. | |||
2000-12-09 | *** empty log message *** | Jim Meyering | |
2000-12-08 | Don't make the success of the test depend | Jim Meyering | |
on the order in which directory entries are processed. | |||
2000-12-08 | *** empty log message *** | Jim Meyering | |
2000-12-08 | *** empty log message *** | Jim Meyering | |
2000-12-08 | (mbsnwidth): Don't loop endlessly when called with an | Jim Meyering | |
invalid mulitbyte sequence and with the MBSW_ACCEPT_INVALID flag set. | |||
2000-12-08 | *** empty log message *** | Jim Meyering | |