Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
last column of `df -i' output. From Andreas Schwab.
|
|
|
|
not only to lack of permission (EPERM), but also to lack of support
(EINVAL). Reported by Bengt Martensson.
|
|
not only to lack of permission (EPERM), but also to lack of support
(EINVAL). Reported by Bengt Martensson.
|
|
semicolon-terminated stmts.
Add braces around compound if/else stmts.
|
|
|
|
as obsolescent options.
Accept new option: --sleep-interval=SECONDS (-s).
(parse_options): Recognize it.
(usage): Describe it.
(tail_forever): Use it.
(dump_remainder): Use it.
|
|
bug in Cray C 5.0.3.0 when T == time_t.
|
|
|
|
|
|
|
|
|
|
(valid_options): Use VALID_BACKUP_TYPE and VALID_SPARSE_MODE.
|
|
(do_copy): Use x->backup_type, not the global.
|
|
(cp_option_init): New function.
(copy_reg): Remove now-unused function.
(do_move): Set up for and use `copy.c (copy)' in place of copy_reg.
Set up for and use `remove.c (rm)' in place of unlink.
|
|
(main): Pass options (`&x') to rm.
Call remove_init and remove_fini instead of open-coding them.
|
|
|
|
(remove_init): New function.
(remove_fini): New function.
|
|
(main): Initialize backup_type unconditionally.
(do_link): Call find_backup_file_name with new argument, backup_type.
|
|
(main): Initialize backup_type unconditionally.
(copy_file): Call find_backup_file_name with new backup_type, argument.
|
|
[struct cp_options] (backup_type): New member.
|
|
|
|
Remove the `unsigned' from some `unsigned char*' parameter types.
Add casts via UCHAR where necessary to avoid problems with unwanted
sign extension. Based on a patch from Kaveh Ghazi to appease Irix4's
cc compiler.
e.g.,
> cc -DLOCALEDIR=\"/caip/u3/ghazi/foobar/share/locale\" -DHAVE_CONFIG_H
> -I.. -I../../src -I../../lib -I../intl -c ../../src/sort.c
> accom: Error: ../../src/sort.c, line 500: prototype parameter 1 type
> must have all of the actual arguments qualifiers (except the
> outermost) and pointed-to types must be compatible (ANSI
> 3.3.2.2,3.3.16.1)
> diff = strcoll (s1, s2);
> ----------------------------^
> accom: Error: ../../src/sort.c, line 500: Argument 1 Type Doesn't
> Match prototype description; prototype: pointer to const char is
> different from actual: pointer to unsigned char
> diff = strcoll (s1, s2);
> ----------------------------^
> accom: Error: ../../src/sort.c, line 500: prototype parameter 2 type
> must have all of the actual arguments qualifiers (except the
> outermost) and pointed-to types must be compatible (ANSI
> 3.3.2.2,3.3.16.1)
> diff = strcoll (s1, s2);
> ----------------------------^
> accom: Error: ../../src/sort.c, line 500: Argument 2 Type Doesn't
> Match prototype description; prototype: pointer to const char is
> different from actual: pointer to unsigned char
> diff = strcoll (s1, s2);
> ----------------------------^
|
|
already high, at INT_MAX :-) on the number of files split could create.
Reported by Ralf W. Stephan.
|
|
for Irix-4.0.5. From Kaveh Ghazi.
|
|
(nls_set_fraction): Likewise.
|
|
with the rest of the output.
|
|
Remove definitions of those symbols.
* src/csplit.c: Move inclusion of regex.h/rx.h to follow system.h
since it now includes limit.h which defines RE_DUP_MAX.
* src/nl.c: Likewise.
* src/tac.c: Likewise.
|
|
|
|
|
|
Suggestions from Andreas Schwab.
|
|
without -l or -t. Now, -u (like -c) implies --sort=time.
Suggestion from Andreas Schwab.
|
|
result of xrealloc (until recently it was char*).
|
|
guarding the nls month-checking code.
(nls_numeric_format): Remove unnecessary (and error-evoking w/SunOS' cc)
`unsigned' from dcls of text and lim.
(main): Cast lconvp->grouping to `unsigned char*' to appease SunOS's cc.
|
|
(show_dev): If a value consists entirely of 1 bits, or is derived
from some other value that consists entirely of 1 bits, report "-".
Check inode and block counts more carefully for plausibility,
to avoid arithmetic overflow when computing percentages.
|
|
|
|
|
|
|
|
|
|
|
|
Include "closeout.h".
|
|
the two booleans, verbose and changes_only. This fixes a bug whereby
--change had the same effect as --verbose.
Plus Paul's close_stdout changes.
|
|
the two booleans, verbose and changes_only. This fixes a bug whereby
--change had the same effect as --verbose.
|
|
just like `fsu.fsu_blocks == 0' as an indicator that usage information
is invalid. This happens with Solaris-5.5.1 CD-ROM partitions.
|
|
|
|
only once and never free it.
|