summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-10-16Update from gnulib.Jim Meyering
2003-10-16*** empty log message ***Jim Meyering
2003-10-16(libfetish_a_SOURCES): Add xgethostname.h.Jim Meyering
2003-10-16Include xgethostname.h.Jim Meyering
2003-10-16(xgethostname): New file, from gnulib.Jim Meyering
2003-10-15.Jim Meyering
2003-10-15change to 5.1.0Jim Meyering
2003-10-15*** empty log message ***Jim Meyering
2003-10-15*** empty log message ***Jim Meyering
2003-10-15Update tests accordingly.Jim Meyering
2003-10-15.Jim Meyering
2003-10-15.Jim Meyering
2003-10-15*** empty log message ***Jim Meyering
2003-10-15Include "fts_.h".Jim Meyering
(WRITTEN_BY): Add my name. (MAXUID, MAXGID): Remove definitions. Use GID_T_MAX instead of the latter. (usage): Update. (main): Handle new options. Call new function, chown_files rather than change_file_owner.
2003-10-15chown now accepts POSIX-mandated -H, -L, -P options and usesJim Meyering
fts to perform a directory traversal when -R is specified. Before, it used explicit recursion, and as such was limited by the user's stack size to handling hierarchies no deeper than about 30,000 levels. Include "userspec.h" and "fts_.h". (WRITTEN_BY): Add my name. (getpwnam, getgrnam, getgrgid): Remove declarations. (endpwent): Remove definition. (usage): Update (main): Handle new options. Call new function, chown_files rather than change_file_owner.
2003-10-15*** empty log message ***Jim Meyering
2003-10-15Include "userspec.h".Jim Meyering
2003-10-15*** empty log message ***Jim Meyering
2003-10-15(libfetish_a_SOURCES): Add userspec.h.Jim Meyering
2003-10-15*** empty log message ***Jim Meyering
2003-10-15[enum Dereference_symlink]: Remove declaration.Jim Meyering
[struct Chown_option] (recurse, force_silent): Change type to `bool'. [struct Chown_option] (dereference): Remove member with ambiguous name. [struct Chown_option] (affect_symlink_referent): New member. (chown_files): New prototype.
2003-10-15Rewrite to iterate through hierarchies using fts rather thanJim Meyering
via explicit recursion. Include "fts_.h" (change_file_owner): Rewrite to use FTS* and FTSENT* and to operate on a single file at a time. (chown_files): New function.
2003-10-15*** empty log message ***Jim Meyering
2003-10-15*** empty log message ***Jim Meyering
2003-10-15(ln invocation): Note that --directory, -d, -FJim Meyering
probably won't work even for superuser.
2003-10-15(usage): Clarify that --directory, -d, -F probably won'tJim Meyering
work even for superuser. Suggestion from Dan Jacobson.
2003-10-15*** empty log message ***Jim Meyering
2003-10-15Sync with gnulib.Jim Meyering
2003-10-15Sync with gnulib.Jim Meyering
2003-10-15*** empty log message ***Jim Meyering
2003-10-15(parse_field_count): Handle the case where overflowJim Meyering
and invalid suffix char are both reported.
2003-10-14(decode_switches) [TIOCGWINSZ]: Comment out theJim Meyering
warning-inducing test, ws.ws_col <= SIZE_MAX, since it was always true on Linux.
2003-10-14*** empty log message ***Jim Meyering
2003-10-14.Jim Meyering
2003-10-14.Jim Meyering
2003-10-14*** empty log message ***Jim Meyering
2003-10-14*** empty log message ***Jim Meyering
2003-10-14(TESTS): Add posix-H.Jim Meyering
2003-10-14add a blank lineJim Meyering
2003-10-14*** empty log message ***Jim Meyering
2003-10-14Fix to avoid a denial-of-service attack if the display width isJim Meyering
enormous. Also, clean up the code a bit by removing duplicate code. (init_column_info): Remove forward decl; no longer needed. (calculate_columns): New function, that contains code that used to be common to print_many_per_line and print_horizontal. (print_many_per_line, print_horizontal): Use it. (decode_switches): Set max_idx here, not in calculate_columns. (print_current_files): Don't call init_column_info; calculate_columns now does that. (init_column_info): Don't allocate a lot more space than is needed to represent the current set of files. Allocate all the new size_t cells in one call to xnmalloc, rather than a row at a time.
2003-10-14*** empty log message ***Jim Meyering
2003-10-14*** empty log message ***Jim Meyering
2003-10-13*** empty log message ***Jim Meyering
2003-10-13(init_column_info): Add another FIXME comment.Jim Meyering
2003-10-13*** empty log message ***Jim Meyering
2003-10-13*** empty log message ***Jim Meyering
2003-10-13*** empty log message ***Jim Meyering
2003-10-13Import latest version from gnulib.Jim Meyering
2003-10-13*** empty log message ***Jim Meyering