Commit Graph
3574 Commits
Author SHA1 Message Date
Jim Meyering 44df08ee55 *** empty log message *** 1997-06-11 20:19:23 +00:00
Jim Meyering 8406b91aba (docolon): Test (re_buffer.re_nsub > 0) rather than
searching for `\(' to determine whether to return 0 or the empty
string.  Before it would improperly return '' if the pattern
contained a substring like this: `\\('.  From Karl Heuer.
For example, running expr c : '\\(' should print `0'.
1997-06-11 20:18:15 +00:00
Jim Meyering 2078f2391e . 1997-06-06 14:30:11 +00:00
Jim Meyering f442eb2941 . 1997-06-03 20:01:55 +00:00
Jim Meyering f1390de4c3 [HAVE_UNISTD_H]: Include unistd.h.
John Gatewood Ham reported that this is necessary for DJGPP/Win95.
1997-06-03 20:01:47 +00:00
Jim Meyering 93ede2c8e1 *** empty log message *** 1997-06-03 20:01:14 +00:00
Jim Meyering ae7a2a007a . 1997-06-02 14:29:50 +00:00
Jim Meyering 1f107588fa . 1997-06-01 18:47:56 +00:00
Jim Meyering a45a7e3819 . 1997-06-01 17:59:08 +00:00
Jim Meyering 5f0bf654a4 (mk-script): Depend on ../../config.status. 1997-06-01 17:58:27 +00:00
Jim Meyering 985bd80461 . 1997-06-01 17:20:42 +00:00
Jim Meyering 8bb2bf5d28 *** empty log message *** 1997-06-01 17:20:31 +00:00
Jim Meyering cc167bce98 *** empty log message *** 1997-06-01 17:16:30 +00:00
Jim Meyering f5291be83e Add tests using `next'. 1997-06-01 17:16:23 +00:00
Jim Meyering 2c0e561933 (OtherTable): Interpret `next' as 1 (not 2) units.
Patch from Richard Sharman <rsharman@magmacom.com>.
1997-06-01 17:15:51 +00:00
Jim Meyering a488983890 fix for abs pathnames 1997-05-30 14:00:47 +00:00
Jim Meyering 94468e0921 indent cpp directives 1997-05-29 13:20:25 +00:00
Jim Meyering 4377246ee3 update from automake-1.1p 1997-05-29 13:19:34 +00:00
Jim Meyering 6edc738156 correct/normalize indentation in cpp directives 1997-05-28 12:19:28 +00:00
Jim Meyering 4f690a51e3 update from FSF 1997-05-28 12:01:33 +00:00
Jim Meyering 7eaf75e3b1 *** empty log message *** 1997-05-28 11:43:25 +00:00
Jim Meyering 4354caa2d4 (read_filesystem_list): Add `|| defined (__OpenBSD__)'
to the NetBSD #if so OpenBSD also uses the f_fstypename member.
(fstype_to_string): Add `&& !defined (__OpenBSD__)' to the NetBSD #if
expression to exclude this function definition.  OpenBSD 2.1 beta
doesn't need it.  Patch from Hugh Daniel <hugh@ecotone.xanadu.com>
1997-05-28 11:42:29 +00:00
Jim Meyering 106775512b *** empty log message *** 1997-05-28 11:40:16 +00:00
Jim Meyering 72559c0e30 *** empty log message *** 1997-05-27 14:17:08 +00:00
Jim Meyering 437b98461e Don't include backupfile.h. 1997-05-27 14:16:49 +00:00
Jim Meyering 074c7edade *** empty log message *** 1997-05-27 13:55:45 +00:00
Jim Meyering e4f25ca7b1 Use base_name, not basename. 1997-05-27 13:55:23 +00:00
Jim Meyering dd547a84bf . 1997-05-27 12:50:39 +00:00
Jim Meyering bc50ceb474 clean up for -Wall 1997-05-27 11:05:40 +00:00
Jim Meyering 4c2adcbd56 Use base_name, not basename. 1997-05-27 11:04:41 +00:00
Jim Meyering f0c27dac9e Use base_name, not basename.
Use X, not CP_OPTIONS.
1997-05-27 11:00:50 +00:00
Jim Meyering 93e9fef09f (libfu_a_SOURCES): Add addext.c.
Remove getversion.c;  get_version is now in backupfile.c.
Add basename.c since it's no longer replacible.
1997-05-27 10:45:34 +00:00
Jim Meyering 187f712b73 *** empty log message *** 1997-05-27 10:39:22 +00:00
Jim Meyering aa8b6cf83c Change dcl of program_name so it doesn't conflict with the ubiquitous char* one. 1997-05-27 10:39:10 +00:00
Jim Meyering 46a9863033 . 1997-05-27 10:31:04 +00:00
Jim Meyering c213bae308 Update from patch-2.2.93. 1997-05-27 10:30:45 +00:00
Jim Meyering ca55ba3715 Update from FSF via patch-2.2.93. 1997-05-27 09:41:25 +00:00
Jim Meyering 168eb7758e Update from FSF via patch-2.2.93. 1997-05-27 09:39:25 +00:00
Jim Meyering 96c4c01019 Update from glibc via patch-2.2.93. 1997-05-27 09:38:06 +00:00
Jim Meyering 926c6c3301 *** empty log message *** 1997-05-26 04:46:57 +00:00
Jim Meyering 8805ede31b (copy_internal): When preserving symlinks (--no-dereference) and the
destination file is a symlink, use stat (not xstat) to see if it points
back to the source.  Reported by James <james@albion.glarp.com>.
1997-05-26 04:46:47 +00:00
Jim Meyering cd29ba84ab *** empty log message *** 1997-05-26 04:43:47 +00:00
Jim Meyering a65a081656 declare strip_trailing_slashes 1997-05-25 21:25:28 +00:00
Jim Meyering 8b36f9cbcd *** empty log message *** 1997-05-25 21:24:44 +00:00
Jim Meyering 0cc1681a5b Remove global variable opt_human_readable.
(enum Output_units): Rename from output_size.
Rename size_* to Unit_*.
Add Unit_variable to correspond to --human-readable.
(convert_blocks): Remove now-unused definition.
(human_readable): Rename paramater n_bytes to n_blocks.
Adjust conversions to reflect fact that input is now number of
512-byte blocks, not bytes.
(print_size): New function.
(du_files): Use print_size instead of open coding it.
(count_entry): Always count in units of 512-byte blocks to delay.
This lets du accumulate totals corresponding to a terabyte before
overflowing 32-bit long int.
Use print_size instead of open coding it.
1997-05-25 21:23:15 +00:00
Jim Meyering e3e8f658c4 *** empty log message *** 1997-05-25 15:17:31 +00:00
Jim Meyering 07876bcb5d (convert_blocks): Add definition. 1997-05-25 15:10:03 +00:00
Jim Meyering 11080b7544 (convert_blocks): Remove definition.
Indent cpp directives.
1997-05-25 14:22:55 +00:00
Jim Meyering 1b71b3372e (convert_blocks): Remove now-unnecessary #undef.
(du_files): Pass output_size unchanged to convert_blocks.  No need
to test output_size for size_bytes, convert_blocks handles that
correctly.
(count_entry): Likewise.
1997-05-25 14:21:41 +00:00
Jim Meyering 1bfb2c3ec7 *** empty log message *** 1997-05-25 14:11:59 +00:00