Age | Commit message (Collapse) | Author | |
---|---|---|---|
2000-12-16 | (main): Rename local, group, to gid. | Jim Meyering | |
2000-12-15 | (main): Reflect renaming: s/dereference/change_symlinks/. | 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-07-30 | Convert "`%s'" in format strings to "%s", and wrap each | Jim Meyering | |
corresponding argument in a `quote (...)' call. Add more precise diagnostics. | |||
2000-07-25 | (change_file_group): Save errno from a possibly failed chown, | Jim Meyering | |
and use that later. Otherwise, errno itself could be clobbered before used. | |||
2000-06-27 | (change_dir_group): Don't set errno before | Jim Meyering | |
invoking savedir, and assume that errno is nonzero if savedir fails. | |||
2000-05-13 | Arrange to call close_stdout only upon exit. | Jim Meyering | |
1999-11-20 | Declare lstat; needed on e.g. SunOS4. | Jim Meyering | |
Reported by Tom Tromey. | |||
1999-11-07 | (xstat): New global. | Jim Meyering | |
(main): Define it. (change_file_group): Use it. Before this change, when running chgrp on a symlink without --dereference (-h) and when the requested group is the same as the group for the *symlink*, chgrp would do nothing. Now it changes the group of the file referenced through the symlink. Reported by Martin Mitchell. | |||
1999-11-07 | Define and use REFERENCE_FILE_OPTION and | Jim Meyering | |
DEREFERENCE_OPTION in place of bare `CHAR_MAX + N'. | |||
1999-08-20 | (usage): Tweak --help output to make it more consistent with that of chown. | Jim Meyering | |
1999-08-16 | This change is nearly identical to the chown.c change of 1998-05-24 | Jim Meyering | |
Accept new option, --dereference. --no-dereference is now the default. Include lchown.h. (enum Change_status) [CH_NOT_APPLIED]: New member. (change_symlinks): Enable this by default, now. (describe_change): Handle new case. (change_file_group): Add new parameter: cmdline_arg. Update callers. Reorganize to reflect changed semantics. (LCHOWN): Remove definitions. From Bruno Haible. | |||
1999-08-08 | (change_dir_group): Remove cast of savedir arg. | Jim Meyering | |
1999-04-18 | Include xstrtol.h, not obsolete file xstrtoul.h. | Jim Meyering | |
1999-03-31 | Don't include closeout.h or version-etc.h explicitly. Now, they're included ↵ | Jim Meyering | |
via sys2.h. | |||
1999-03-26 | define and use AUTHORS | Jim Meyering | |
1999-03-26 | No longer include long-options.h. | Jim Meyering | |
Include version-etc.h instead. (PROGRAM_NAME): Define. [long_options]: Add entries for --help and --version. Remove parse_long_options call. (main) [getopt switch]: Add a case for each of --help and --version. | |||
1999-03-22 | *** empty log message *** | Jim Meyering | |
1999-03-04 | Include long-options.h | Jim Meyering | |
[long_options]: Remove the "help" and "version" entries. (main): Use parse_long_options, including author name(s). Remove the show_version and show_help blocks. | |||
1999-02-16 | update copyright dates | Jim Meyering | |
1999-01-16 | (usage): Don't make it static so that it can be called from libfu.a by ↵ | Jim Meyering | |
xargmatch. | |||
1998-12-18 | (MAXGID): Define. | Jim Meyering | |
Use gid_t (not int) as the type for `group' variables. (parse_group): Use MAXGID, not INT_MAX. | |||
1998-09-19 | update bug-reporting address | Jim Meyering | |
1998-08-30 | (long_options): Replace 12 with CHAR_MAX + 1. | Jim Meyering | |
1998-03-15 | Use #if, not #ifdef with HAVE_ macros. | Jim Meyering | |
Use #if !, not #ifndef with HAVE_ macros. | |||
1998-01-04 | Use a single enumerated type, Verbosity, instead of | Jim Meyering | |
the two booleans, verbose and changes_only. This fixes a bug whereby --change had the same effect as --verbose. | |||
1997-12-28 | Remove incorrect declaration of group_member. | Jim Meyering | |
Include group-member.h instead. Based on suggestion from Ulrich Drepper. | |||
1997-12-16 | s/__P/PARAMS/g | Jim Meyering | |
1997-11-30 | (<limits.h>, UINT_MAX, UINT_MAX): Remove; now | Jim Meyering | |
done by system.h. | |||
1997-10-25 | Remove old-style xmalloc and xrealloc decls. | Jim Meyering | |
1997-10-07 | update bug-reporting address | Jim Meyering | |
1997-10-04 | Remove old-style savedir dcl. | Jim Meyering | |
Include savedir.h for prototype. | |||
1997-08-31 | (change_file_group): Call describe_change with a 3-state argument. | Jim Meyering | |
(describe_change): Report whether the operation was successful, a failure, or that the request was a no-op. Before, running `chown --verb bin /' as non-root reported group of / changed to bin chgrp: you are not a member of group `bin': Not owner | |||
1997-07-29 | Add new option: --reference=FILE. | Jim Meyering | |
1997-05-25 | Remove FIXME. | Jim Meyering | |
Add spurious curlies and an empty line. | |||
1997-03-13 | (change_file_group): Use uid of -1 to indicate | Jim Meyering | |
we don't want to change the file's user ID. | |||
1997-02-09 | update copyrights for 1997 | Jim Meyering | |
1997-02-01 | bracket bug address with <> and append a period | Jim Meyering | |
1997-02-01 | Compare getopt_long return value against -1, not EOF. Use NULL, not '(int ↵ | Jim Meyering | |
*) 0' as last parameter in getopt_long call. | |||
1996-11-23 | (usage): Alphabetize option descriptions the way sort -f would. | Jim Meyering | |
1996-11-03 | change bug-reporting address | Jim Meyering | |
1996-11-02 | change bug-reporting address | Jim Meyering | |
1996-10-05 | (main): update --version output to conform to coding standard | Jim Meyering | |
1996-10-04 | (main): update --version output to conform to coding standard | Jim Meyering | |
1996-08-31 | (usage): remove spurious trailing \n in puts. | Jim Meyering | |
1996-08-29 | (usage): Tell where to report bugs. | Jim Meyering | |
1996-08-17 | (parse_group): Fail when given an invalid group name. | Jim Meyering | |
Reported as Debian Bug#4119 via Erick Branderhorst (branderh@IAEhv.nl). Declare pointer parameters const as appropriate. | |||
1996-07-26 | (main): Fix typo in getopt_long string: s/n/h/. | Jim Meyering | |
Reported by Ken Pizzini. | |||
1996-07-19 | (main): Initialize for internationalized message support: | Jim Meyering | |
call setlocale, bindtextdomain, and textdomain. Reported by Michel Robitaille <robitail@IRO.UMontreal.CA>. | |||
1996-07-03 | [!MAXUID]: Define after inclusion of system.h to avoid | Jim Meyering | |
warning about redefinition on SunOS4, Solaris2.4 and SGI-irix5.3. From Kaveh Ghazi. |