summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2000-08-20.Jim Meyering
2000-08-20.Jim Meyering
2000-08-20.Jim Meyering
2000-08-20*** empty log message ***Jim Meyering
2000-08-20Include utmp.h `#if HAVE_UTMP_H', rather thanJim Meyering
`#if !HAVE_UTMPX_H'. The latter would lose on systems with neither utmp.h nor utmpx.h. Reported by Eli Zaretskii.
2000-08-20(print_totals): Rename global from opt_combined_arguments.Jim Meyering
2000-08-19fix my grammar error in last changeJim Meyering
2000-08-19*** empty log message ***Jim Meyering
2000-08-19*** empty log message ***Jim Meyering
2000-08-19(writeline): Correct comments.Jim Meyering
From Bruno Haible.
2000-08-18*** empty log message ***Jim Meyering
2000-08-18(DO_CHOWN): Do not make a special case for non-root.Jim Meyering
POSIX.2 requires that cp -p and mv attempt to set the uid of the destination file, even if you're not root. This affects behavior only on hosts that let you give files away via chmod.
2000-08-15*** empty log message ***Jim Meyering
2000-08-15Add tests for just-fixed bug.Jim Meyering
2000-08-15*** empty log message ***Jim Meyering
2000-08-15*** empty log message ***Jim Meyering
2000-08-15*** empty log message ***Jim Meyering
2000-08-15*** empty log message ***Jim Meyering
2000-08-15(count_entry): Remember the current directory also for `.'Jim Meyering
and `..'. Reported by Stephen Smoogen, based on a patch from H.J. Lu.
2000-08-14*** empty log message ***Jim Meyering
2000-08-14remove incorrect FIXME comment.Jim Meyering
2000-08-14*** empty log message ***Jim Meyering
2000-08-14(copy_reg): Move declaration of local, `n_read', intoJim Meyering
the scope where it's used. (copy_internal): In calling copy_reg, pass not the raw `src_mode', but the possibly-umask-relative mode, `get_dest_mode (x, src_mode)'.
2000-08-13(copy_reg): Add comment.Jim Meyering
2000-08-13*** empty log message ***Jim Meyering
2000-08-13*** empty log message ***Jim Meyering
2000-08-13*** empty log message ***Jim Meyering
2000-08-13*** empty log message ***Jim Meyering
2000-08-13*** empty log message ***Jim Meyering
2000-08-13(get_dest_mode): Rename from new_nondir_mode.Jim Meyering
Honor the umask for `cp', but not for `mv' or `cp -p'. (copy_reg): New 4th parameter, dst_mode. Pass it as 3rd arg. to open. (copy_internal): Change type of locals `src_mode' and `src_type' from int to mode_t. Remove unnecessary local `fix_mode'. Combine two if-stmts into one. Pass `src_mode' as 4th arg to copy_reg. If we've just created a new regular file, return early, skipping the chmod step. copy_reg now sets permissions of such files upon creation. Use get_dest_mode, so there's just one chmod call here.
2000-08-12Use jm_FUNC_UNLINK_BUSY_TEXT.Jim Meyering
2000-08-12*** empty log message ***Jim Meyering
2000-08-12.Jim Meyering
2000-08-12(TESTS): Add perm.Jim Meyering
2000-08-12*** empty log message ***Jim Meyering
2000-08-12Remove test for the VERSION_CONTROL and/orJim Meyering
SIMPLE_BACKUP_SUFFIX envvars. Source ../envvar-check instead.
2000-08-12Remove test for the VERSION_CONTROL and/orJim Meyering
SIMPLE_BACKUP_SUFFIX envvars. Source ../envvar-check instead.
2000-08-12Remove test for the VERSION_CONTROL and/orJim Meyering
SIMPLE_BACKUP_SUFFIX envvars. Source ../envvar-check instead.
2000-08-12Remove test for the VERSION_CONTROL and/orJim Meyering
SIMPLE_BACKUP_SUFFIX envvars. Source ../envvar-check instead.
2000-08-12*** empty log message ***Jim Meyering
2000-08-12*** empty log message ***Jim Meyering
2000-08-12.Jim Meyering
2000-08-12*** empty log message ***Jim Meyering
2000-08-12*** empty log message ***Jim Meyering
2000-08-12tweak the `whether...' messageJim Meyering
2000-08-12(jm_FUNC_UNLINK_BUSY_TEXT): New file/macro.Jim Meyering
From J. David Anglin.
2000-08-11*** empty log message ***Jim Meyering
2000-08-11Portable shell scripts should specify global options before key fields.Jim Meyering
Move global LC_CTYPE remark to each sort option that depends on LC_CTYPE. sort -g depends on LC_NUMERIC. Add @vindex where it's missing. "radix character" -> "decimal-point character", to match Standard C terminology, which is easier for most people to follow. "comm" does not consider trailing newlines to be significant.
2000-08-11*** empty log message ***Jim Meyering
2000-08-11Add support for multi-byte locales.Jim Meyering
(iswprint, mbrtowc, wcwidth): Provide default definitions. (total_bytes): New variable. (print_bytes): New variable. (longopts): Change abbreviation for --chars from 'c' to 'm'. (usage): Update. (write_counts): Add `bytes' argument. (wc): New variables `bytes', `count_bytes', `count_chars', `count_complicated'. The old code determines `bytes', not `chars'. New case for MB_CUR_MAX > 1. A non-printable non-space character does not increment the line position or start a word. Update `total_bytes'. (main): Initialize `print_bytes' and `total_bytes' to 0. Accept 'm' option. Pass `total_bytes' to write_counts.