Jim Meyering
de4a3dfb26
*** empty log message ***
2000-12-09 13:44:10 +00:00
Jim Meyering
108881a3b2
*** empty log message ***
2000-12-09 13:38:51 +00:00
Jim Meyering
7d5f893b7f
*** empty log message ***
2000-12-09 12:47:51 +00:00
Jim Meyering
8d977c3978
*** empty log message ***
2000-12-09 10:15:26 +00:00
Jim Meyering
73f1bc31d7
(change_file_owner): Restore special file permission
...
bits, since calling chown resets them on some systems.
Reported by Matt Perry.
2000-12-09 10:15:17 +00:00
Jim Meyering
497d1d9e97
*** empty log message ***
2000-12-09 10:14:52 +00:00
Jim Meyering
764dd3149e
Don't make the success of the test depend
...
on the order in which directory entries are processed.
2000-12-08 20:31:47 +00:00
Jim Meyering
b2b9bed164
*** empty log message ***
2000-12-08 20:31:15 +00:00
Jim Meyering
9580e7cc87
*** empty log message ***
2000-12-08 18:32:11 +00:00
Jim Meyering
a05267197a
(mbsnwidth): Don't loop endlessly when called with an
...
invalid mulitbyte sequence and with the MBSW_ACCEPT_INVALID flag set.
2000-12-08 18:31:38 +00:00
Jim Meyering
a90e5f5a69
*** empty log message ***
2000-12-08 08:06:33 +00:00
Jim Meyering
1f47a082c4
Include xalloc.h.
...
(main): Use dir_name rather than the underlying dir_name_r.
The former now handles cwd-relative names with drive-letter prefixes.
2000-12-08 07:55:05 +00:00
Jim Meyering
7b55b7aa13
*** empty log message ***
2000-12-07 14:14:18 +00:00
Jim Meyering
bcc94017bc
convert a > expression to the equivalent < one
2000-12-07 14:13:51 +00:00
Jim Meyering
b615d79ac3
(ISSLASH): Define.
...
(strip_trailing_slashes): Use ISSLASH rather than comparing against `/'.
From Prashant TR.
2000-12-07 14:13:13 +00:00
Jim Meyering
04f549820f
convert a > expression to the equivalent < one
2000-12-07 14:11:52 +00:00
Jim Meyering
ded8b14afb
*** empty log message ***
2000-12-07 14:10:33 +00:00
Jim Meyering
4504b81f3b
(FILESYSTEM_PREFIX_LEN): Define.
...
(dir_name_r): Declare this function as static.
[BACKSLASH_IS_PATH_SEPARATOR]: Fix a bug that'd
manifest itself on a name containing a mix of slashes and
backslashes.
Make this function work with names starting with a DOS-style
drive letter and colon prefix.
(dir_name): Append `.' if necessary.
Based mostly on patches from Prashant TR and Eli Zaretskii.
2000-12-07 14:10:21 +00:00
Jim Meyering
222412dbf1
(dir_name_r): Remove prototype.
2000-12-07 11:50:35 +00:00
Jim Meyering
71751f757d
*** empty log message ***
2000-12-07 10:07:28 +00:00
Jim Meyering
8c8424d0c2
(address_base): Declare to be static.
2000-12-07 10:07:08 +00:00
Jim Meyering
e42f27d147
(address_base, address_pad_len): New var.
...
(output_address_fmt_string, address_fmt_buffer, address_pad): Remove.
(flag_pseudo_start): Now int, not long int.
(pseudo_offset): Now off_t, not long int.
(n_specs, n_specs_allocated): Now size_t, not unsigned int.
(format_address, format_address_none, format_address_std,
format_address_label): Now accepts an extra char argument (an extra
char to print if nonzero), and prints instead of returning a string.
All callers changed.
(bytes_per_block): Now size_t, not int.
(format_address_none): Do not even print the extra char argument.
This simplifies the callers.
(format_address_std, format_address_label): Print off_t ourself
instead of trying to use autoconfigured format. This is faster and
more portable.
(format_address_paren): New function.
(dump): Remove unnecessary cast.
(expand_address_fmt): Remove.
(main): Use size_t, off_t, etc. instead of builtin types where this is
advisable. Adjust to above changes. Remove unnecessary cast.
2000-12-07 10:05:09 +00:00
Jim Meyering
d1cca1ee9c
*** empty log message ***
2000-12-06 11:06:43 +00:00
Jim Meyering
0654f3206d
Check for strtol. Mainly as a cue to cause automake to include
...
strtol.c -- that file is included by each of strtoul.c and strtoull.c.
Check for limits.h -- strtol.c needs it.
CPPI-1_8
2000-12-06 11:06:39 +00:00
Jim Meyering
67cf94a857
*** empty log message ***
2000-12-06 10:52:37 +00:00
Jim Meyering
69ed54e544
Check for declarations of strtoul and strtoull.
2000-12-06 10:52:28 +00:00
Jim Meyering
3dabe6b533
separate conditions for strtoul and strtoull
2000-12-06 10:26:51 +00:00
Jim Meyering
2845214164
*** empty log message ***
2000-12-06 09:55:03 +00:00
Jim Meyering
6b8102a180
*** empty log message ***
2000-12-06 09:35:48 +00:00
Jim Meyering
570074d6d1
(jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
...
strtoull, we may well need the replacement strtoul, too.
2000-12-06 09:35:40 +00:00
Jim Meyering
72a6d74ab2
.
2000-12-05 13:53:13 +00:00
Jim Meyering
cd6f0af0ea
(dir_name_r): Add `const' in a few local declarations.
2000-12-05 13:14:13 +00:00
Jim Meyering
2746cd50c3
*** empty log message ***
2000-12-04 09:41:28 +00:00
Jim Meyering
8a4261c7a5
*** empty log message ***
2000-12-04 09:37:40 +00:00
Jim Meyering
90799b6c68
Also include memory.h, stdlib.h, unistd.h if appropriate.
2000-12-04 09:37:33 +00:00
Jim Meyering
1c6320fe7c
*** empty log message ***
2000-12-04 09:15:54 +00:00
Jim Meyering
fecdd2bd2b
[!HAVE_DECL_MALLOC]: Declare malloc.
2000-12-04 09:15:49 +00:00
Jim Meyering
15691fb64f
*** empty log message ***
2000-12-03 22:40:40 +00:00
Jim Meyering
cb366955f3
(gobble_file) [USE_ACL]: Set have_acl member unconditionally
...
to avoid uninitialized memory reference via FILE_HAS_ACL.
2000-12-03 22:40:31 +00:00
Jim Meyering
82a6fbda1c
*** empty log message ***
2000-12-03 20:46:07 +00:00
Jim Meyering
177b2553e2
(TESTS): Add assert-2.
2000-12-03 20:43:51 +00:00
Jim Meyering
814e63e371
remove instrumentation
2000-12-03 20:37:55 +00:00
Jim Meyering
2eed25f2ed
add instrumentation to detect some UMRs
2000-12-03 20:37:18 +00:00
Jim Meyering
1be9e19c7d
*** empty log message ***
2000-12-03 20:36:29 +00:00
Jim Meyering
b7895d0d10
(tail_file): Initialize ignore, dev, and ino members,
...
when tailing forever and the open failed. Otherwise, we could get
uninitialized memory references of those fields in recheck.
2000-12-03 20:36:19 +00:00
Jim Meyering
8461820956
*** empty log message ***
2000-12-03 13:10:48 +00:00
Jim Meyering
86960ce221
*** empty log message ***
2000-12-03 12:46:55 +00:00
Jim Meyering
6670163eee
(alpha): Use rsync rather than scp, so the destination
...
file is created only after the successful completion of the copy.
2000-12-03 12:46:44 +00:00
Jim Meyering
437f8becaa
.
2000-12-03 12:31:59 +00:00
Jim Meyering
5233121102
use CHAR_BIT, not BITSPERBYTE
TEXTUTILS-2_0_9
2000-12-03 11:00:06 +00:00