summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1999-04-30*** empty log message ***Jim Meyering
1999-04-30*** empty log message ***Jim Meyering
1999-04-30Update to reflect this change by reversingJim Meyering
the order of arguments so the symlink is the source, not the destination (otherwise, the mv command would now succeed).
1999-04-30(copy_internal): Move the one-file-system test so thatJim Meyering
it follows the `if (new_dst || !S_ISDIR (dst_sb.st_mode))' block. Prior to this change, `cp --one-file-system' would traverse a file- system boundary if the destination directory existed. From thospel@mail.dma.be.
1999-04-30*** empty log message ***Jim Meyering
1999-04-30(copy_internal): Don't make `mv foo symlink-to-foo' fail.Jim Meyering
That is, even though source and destination are `the same,' don't fail if the destination is a symlink. From Peter Samuelson.
1999-04-26*** empty log message ***Jim Meyering
1999-04-26*** empty log message ***Jim Meyering
1999-04-26(main): If you can't open an output file (with seek=...) read-write,Jim Meyering
then open it for write and report an error if we can't seek.
1999-04-26.Jim Meyering
1999-04-26(utime_null): Don't pass 0666 to open; it's not needed and isn'tJim Meyering
guaranteed to be portable.
1999-04-26(S_IRWXU, S_IRWXG, S_IRWXO): Define if not defined.Jim Meyering
Use proper mode_t types and macros. Don't assume the traditional Unix values for mode bits.
1999-04-26(make_node_op_equals, mode_compile, mode_create_from_ref, mode_adjust):Jim Meyering
Use proper mode_t types and macros. Don't assume the traditional Unix values for mode bits. modechange.h now includes sys/types.h. Include xstrtol.h. (isodigit, oatoi): Remove. (S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IWUSR, S_IXUSR, S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH, S_IXOTH, S_IRWXU, S_IRWXG, S_IRWXO): Define if not defined. (CHMOD_MODE_BITS): New macro. (mode_compile): Convert from octal with xstrtoul, not our own routine.
1999-04-26Don't assume traditional Unix mode numbering.Jim Meyering
1999-04-26Include <config.h>, <sys/types.h> for mode_t.Jim Meyering
(struct mode_change): Members affected and value are now mode_t instead of unsigned short.
1999-04-26<config.h>, <sys/types.h>: Include for mode_t.Jim Meyering
(mode_string): Now takes mode_t.
1999-04-26(make_path): Use proper mode_t types and macros.Jim Meyering
Don't assume the traditional Unix values for mode bits. (S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IRWXU): Define if not defined.
1999-04-26(setst, ftypelet, mode_string): Use proper mode_t types and macros.Jim Meyering
Don't assume the traditional Unix values for mode bits. (S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH, S_IXOTH): Define if not defined. <config.h>, <sys/types.h>: Include for mode_t. (mode_string): Now takes mode_t.
1999-04-26(main): Use proper mode_t types and macros.Jim Meyering
Don't assume the traditional Unix values for mode bits.
1999-04-26(do_copy, cp_option_init, main): Use proper mode_t types and macros.Jim Meyering
Don't assume the traditional Unix values for mode bits.
1999-04-26(struct cp_options.umask_kill): Use mode_t, not unsigned int.Jim Meyering
1999-04-26(copy_reg, copy_internal): Use proper mode_t types and macros.Jim Meyering
Don't assume the traditional Unix values for mode bits.
1999-04-26(describe_change, change_file_mode): Use proper mode_t types and macros.Jim Meyering
Don't assume the traditional Unix values for mode bits.
1999-04-26(main): Use proper mode_t types and macros.Jim Meyering
Don't assume the traditional Unix values for mode bits.
1999-04-26(isodigit): Remove unused macro.Jim Meyering
(mode, cp_option_init, DIR_MODE): Use proper mode_t types and macros. Don't assume the traditional Unix values for mode bits.
1999-04-26(S_ISUID, S_ISGID, S_ISVTX, S_IRWXU, S_IRWXG, S_IRWXO):Jim Meyering
Define if not defined. (CHMOD_MODE_BITS): New macro.
1999-04-26(open_maybe_create): Don't pass 0666 to open; it's not needed and isn'tJim Meyering
guaranteed to be portable.
1999-04-26Use proper mode_t types and macros.Jim Meyering
Don't assume the traditional Unix values for mode bits.
1999-04-26Use proper mode_t types and macros.Jim Meyering
Don't assume the traditional Unix values for mode bits.
1999-04-26Use proper mode_t types and macros.Jim Meyering
Don't assume the traditional Unix values for mode bits.
1999-04-26(main): Revert last change.Jim Meyering
Instead, loop on `optind < argc' to protect use of argv[optind].
1999-04-26revert last changeJim Meyering
1999-04-26.Jim Meyering
1999-04-26(main): Handle the case in which seq is given no args.Jim Meyering
1999-04-25*** empty log message ***Jim Meyering
1999-04-25<inttypes.h>: Include it here instead.Jim Meyering
<config.h>: Include it here too.
1999-04-25Don't include inttypes.h here.Jim Meyering
1999-04-25[NDEBUG]: Remove definition.Jim Meyering
1999-04-25*** empty log message ***Jim Meyering
1999-04-25*** empty log message ***Jim Meyering
1999-04-24*** empty log message ***Jim Meyering
1999-04-24(print_entry): Use `#if', not `#ifdef HAVE_UT_HOST'.Jim Meyering
1999-04-24*** empty log message ***Jim Meyering
1999-04-24*** empty log message ***Jim Meyering
1999-04-24.Jim Meyering
1999-04-24*** empty log message ***Jim Meyering
1999-04-24*** empty log message ***Jim Meyering
1999-04-24.Jim Meyering
1999-04-24*** empty log message ***Jim Meyering
1999-04-24*** empty log message ***Jim Meyering