summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1999-04-03Use PROGRAM_NAME in place of string in parse_long_options call.Jim Meyering
1999-04-03define PROGRAM_NAMEJim Meyering
1999-04-03*** empty log message ***Jim Meyering
1999-04-03(S_IWUSR): Define if not already defined.Jim Meyering
1999-04-03(isaac_seed): Don't overrun the s->mm buffer.Jim Meyering
Use gethrtime if available. Don't assume that clock_gettime succeeds. Put most random sources first.
1999-04-03Add new options -bcCklL and fix some porting problems.Jim Meyering
Remove options -dp. Do not read output files. (long_opts, usage, main, wipefile): Adjust to new options. ("human.h", "quotearg.h"): New includes. (struct Options): New members contents, links, n_iterations. Remove allow_devices, remove_file. Change n_iterations to size_t. All uses changed. (output_block_size): New var. (usage): Declare __noreturn__ attribute. (fdatasync): Define to -1 if not present, since we need to invoke both fdatasync and fsync if both are present. All invokers of fdatasync now try fdatasync, then fsync. (MIXIN): New macro. (isaac_seed): Use it to mix in values. Add uid, gid to mix. Don't use gettimeofday, as it has too many porting problems. (isaac_seedfd): Remove, since we no longer read the output files. (sizefd): Remove; we now determine size by writing sequentially. (dopass, wipename, wipefile, main): Clean up error messages. (dopass): Keep track of offset relative to start of file, not end, since we may not know how large the file is. If size is negative, write until we fall off the end of the file. (wipefd): Do not read output file. Return 0 if successful, -1 if not; do not make a special case for non-regular files, since our callers have that info now. (wipename): Now static. Return errno if error. (main): "-" now stands for standard output. Do not shred append-only standard output. (wipefile): Do not grant read permission to file when wiping it. Use symbolic permission (S_IWUSR), not octal. From Paul Eggert.
1999-04-02[HAVE_SYS_ACL_H]: Include sys/acl.h.Jim Meyering
(struct fileinfo): New member `have_acl'. (gobble_file): Initialize it. (print_long_format): Use it. Mostly from Alen Muzinic.
1999-04-02*** empty log message ***Jim Meyering
1999-04-02*** empty log message ***Jim Meyering
1999-04-02*** empty log message ***Jim Meyering
1999-04-02(open_maybe_create): New function.Jim Meyering
(touch): Rewrite not to use `creat' and to eliminate a race condition that could make touch truncate a nonempty file. Report and suggestions from Andrew Tridgell.
1999-04-02*** empty log message ***Jim Meyering
1999-04-01*** empty log message ***Jim Meyering
1999-04-01(main): Qualify a char* with the `const' keyword.Jim Meyering
1999-04-01(main): Qualify a char* with the `const' keyword.Jim Meyering
1999-04-01(install_file_in_dir): Qualify a char* with the `const' keyword.Jim Meyering
1999-04-01(main): Qualify a char* with the `const' keyword.Jim Meyering
1999-04-01(main): Qualify a char* with the `const' keyword.Jim Meyering
1999-04-01Remove prototypes and tsort function definitions.Jim Meyering
1999-04-01(main): Qualify a char* with the `const' keyword.Jim Meyering
1999-04-01(main): Move the declaration of `e' into the scopeJim Meyering
where it's used and make it `const'.
1999-04-01(main): Qualify a char* with the `const' keyword.Jim Meyering
1999-04-01(touch): Qualify a char* with the `const' keyword.Jim Meyering
1999-03-31.Jim Meyering
1999-03-31*** empty log message ***Jim Meyering
1999-03-31Don't include closeout.h or version-etc.h explicitly. Now, they're included ↵Jim Meyering
via sys2.h.
1999-03-31*** empty log message ***Jim Meyering
1999-03-31No longer include long-options.h.Jim Meyering
[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-31Include "closeout.h" and "version-etc.h"Jim Meyering
1999-03-31(AUTHORS): Actually define and use.Jim Meyering
1999-03-31(PROGRAM_NAME, AUTHORS): Define and use.Jim Meyering
1999-03-31(PROGRAM_NAME, AUTHORS): Define and use.Jim Meyering
1999-03-30import latestJim Meyering
1999-03-30.Jim Meyering
1999-03-30.Jim Meyering
1999-03-30(make_node_op_equals): New function.Jim Meyering
(mode_append_entry): Likewise. (mode_compile): When none of [ugoa] is specified in an `=OP' change mode request, insert a `=0' entry into the linked list so that all bits are cleared first. Use the new functions.
1999-03-30*** empty log message ***Jim Meyering
1999-03-30(rmdir): Use pid_t instead of int; check statusJim Meyering
against zero. This is to improve portability.
1999-03-30(rename): Use pid_t instead of int; check statusJim Meyering
against zero. This is to improve portability.
1999-03-30(mkdir): Use pid_t instead of int; check statusJim Meyering
against zero. This is to improve portability.
1999-03-30(strip): Use standard "cannot fork" message.Jim Meyering
Check for strip nonzero exit status.
1999-03-30*** empty log message ***Jim Meyering
1999-03-30*** empty log message ***Jim Meyering
1999-03-30*** empty log message ***Jim Meyering
1999-03-30(jm_CHECK_ALL_TYPES): New macro.Jim Meyering
1999-03-29*** empty log message ***Jim Meyering
1999-03-29Define GNU_PACKAGE here.Jim Meyering
Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is replaced e.g., in the *.sh files of the sh-utils.
1999-03-29PROGRAM_NAME: rename from COMMAND_NAMEJim Meyering
1999-03-28*** empty log message ***Jim Meyering
1999-03-28(get_date): Reuse tm_isdst of first localtimeJim Meyering
call; this is an improvement on a bug fix suggested by martin@dresden.nacamar.de. Do not assume that localtime and gmtime return non-null. From Paul Eggert.