1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-06-26 12:06:50 +02:00
Commit Graph

2735 Commits

Author SHA1 Message Date
Jim Meyering 30323f5739 require 1 argument 2001-02-06 09:56:22 +00:00
Jim Meyering 1de223c226 better comment 2001-02-06 09:53:58 +00:00
Jim Meyering eeae6e79dd emit a comment, print numbers one per line 2001-02-06 09:34:18 +00:00
Jim Meyering 47b335399c remove parens 2001-02-06 09:04:01 +00:00
Jim Meyering 871c0f6caa move decl of q into loop 2001-02-06 09:03:47 +00:00
Jim Meyering 20f3fe5f32 remove n0 2001-02-06 08:42:33 +00:00
Jim Meyering 45ee51d156 remove --help --version, etc 2001-02-04 16:50:07 +00:00
Jim Meyering e7b9e3e7c1 (usage): Tweak --help output: it prints the _prime_
factors, not just any factors.
2001-02-04 16:28:41 +00:00
Jim Meyering ff10610d6c (is_prime): Remove function. 2001-02-04 15:52:17 +00:00
Jim Meyering 23d47fb4aa *** empty log message *** 2001-02-04 14:04:42 +00:00
Jim Meyering 6bb0a39d24 *** empty log message *** 2001-02-04 12:42:38 +00:00
Jim Meyering 8b8419e185 *** empty log message *** 2001-02-04 12:29:18 +00:00
Jim Meyering d622232fb2 (main): Change type of index variable to `unsigned int' to avoid a warning. 2001-02-03 20:22:58 +00:00
Jim Meyering c036ffc1cc (long_opts): Use `strip-trailing-slashes',
per the documetation, not `strip-trailing-slash'.
2001-02-03 16:50:34 +00:00
Jim Meyering 99d7f7d422 (long_options): Use `strip-trailing-slashes',
per the documetation, not `strip-trailing-slash'.
2001-02-03 16:50:04 +00:00
Jim Meyering 52377e246d Improve the performance of `factor' (more than 2x speed-up for large N).
(wheel_tab): New global table.
(WHEEL_START, WHEEL_END): Define.
(factor): Remove the loop that special-cased `2'.
Instead of incrementing by `2', use the offsets from the wheel table.
From Michael Steffens.
2001-02-03 13:37:37 +00:00
Jim Meyering 67998a215f (main): Remove decl of unused local, `len'. 2001-01-28 21:58:19 +00:00
Jim Meyering 577a8f346e (gobble_file): Add a FIXME comment. 2001-01-28 21:43:21 +00:00
Jim Meyering 2bc68d2234 [FULL_TIME]: Define.
(long_options): Use it.
(decode_switches): Make --full-time imply -l.
2001-01-28 21:34:35 +00:00
Jim Meyering d362235eed (main): Declare local result as non-const, now that it's freed. 2001-01-26 09:24:46 +00:00
Jim Meyering e673a685ac (remove_file): Correct an expression to avoid making
an unnecessary call to euidaccess for each file.
2001-01-22 10:51:54 +00:00
Jim Meyering fcdbd9ff15 (main): Likewise. 2001-01-17 10:30:25 +00:00
Jim Meyering 108694f32a (PACKAGE): Likewise. 2001-01-17 10:29:56 +00:00
Jim Meyering 59b34eded2 (main): Likewise. 2001-01-17 10:28:46 +00:00
Jim Meyering 622dcc58ee (case_GETOPT_VERSION_CHAR): Use PACKAGE, not GNU_PACKAGE. 2001-01-17 10:28:03 +00:00
Jim Meyering 56c1cbf2e8 (main): Use PACKAGE, not GNU_PACKAGE. 2001-01-17 09:47:41 +00:00
Jim Meyering bd485671ff (usage): Convert each TAB in --help output to a sequence of 8 spaces. 2001-01-17 09:47:32 +00:00
Jim Meyering 43be299a76 (main): Use PACKAGE, not GNU_PACKAGE. 2001-01-17 09:42:36 +00:00
Jim Meyering 4a65486da9 (UINT_MAX_32_BITS): Define.
Use UINT_MAX_32_BITS in the cpp conditions that determine
the `word32' typedef.  Using a literal `0xffffffff' failed with
HPUX10.20's /bin/cc.
2001-01-14 20:26:28 +00:00
Jim Meyering 30fc8c55a3 [RENAME_TRAILING_SLASH_BUG]: Use the rename wrapper. 2001-01-14 11:04:47 +00:00
Jim Meyering e2aae9e166 add comment to go along with last change 2001-01-13 15:50:01 +00:00
Jim Meyering b7138e1052 (same_file_ok): When moving a symlink onto itself,
don't remove the symlink.  Reported by David Luyer as Debian bug#82089,
via Michael Stone.
2001-01-13 15:48:32 +00:00
Jim Meyering e7e6c322a0 (copy_internal): Add a comment.
Set *copy_into_self in the new code that detects that.
Make diagnostic more consistent: s/won't/will not/.
[move_mode, copy_into_self]: Give a diagnstic here, now that
we have the top_level_* globals.  Remove the corresponding diagnostic
from mv.c.
Add a FIXME comment.
2001-01-10 12:18:19 +00:00
Jim Meyering 9ea9eed873 (do_move): Remove diagnostic, now that copy.c issues it.
Set `fail' to nonzero in the primary `if (copy_into_self)' block
rather than in its own tiny one below.
2001-01-10 12:16:52 +00:00
Jim Meyering b6e29912be [struct entry] (node): Describe how it's used,
now that we've overloaded it a little, in order to detect and diagnose
the copying-directory-into-self problem.
(new_file): Remove global.
(htab): Declare global to be static.
(remember_created): Insert file name instead of dummy pointer, so
that copy.c can use the just-created directory name to detect
the copying-directory-into-self problem.
2001-01-10 11:54:53 +00:00
Jim Meyering 2a5fb11132 (copy_internal): Don't allow cp (or mv, when working
across a partition boundary) to overwrite a non-directory with a directory.
2001-01-10 09:43:36 +00:00
Jim Meyering 8740ecf8c0 add comment 2001-01-09 16:12:59 +00:00
Jim Meyering e92e87181b (top_level_src_path, top_level_dst_path): New globals.
(copy_internal): Use them.
(copy): Set them.
2001-01-09 16:07:40 +00:00
Jim Meyering 134bbf752c whoops. move printf args, too 2001-01-08 08:34:52 +00:00
Jim Meyering b27dd775ad (usage): Split long message string. 2001-01-07 16:15:37 +00:00
Jim Meyering 7709a02741 Split a string that was longer than 2048 bytes. 2001-01-07 16:13:27 +00:00
Jim Meyering aaf9e9a820 (usage): Split a string that was longer than 2048 bytes. 2001-01-07 16:11:14 +00:00
Jim Meyering 98d1d862d5 back out last, prematurely-committed, change 2001-01-07 16:07:33 +00:00
Jim Meyering aaef348f3d Correct the indentation of an `#endif'. 2001-01-07 16:06:27 +00:00
Jim Meyering 9bc96fd932 clean up after commit hook testing 2001-01-07 10:57:29 +00:00
Jim Meyering 7b0658b00f testing -- commit should fail 2001-01-07 10:54:06 +00:00
Jim Meyering f4034df457 testing -- commit should fail 2001-01-07 10:52:43 +00:00
Jim Meyering 5856751f41 testing -- commit should fail 2001-01-07 10:51:00 +00:00
Jim Meyering 4df9c47ca7 (usage): Untabify. 2001-01-07 10:12:25 +00:00
Jim Meyering 8c07ff563b (parse_group): Normalize spelling. 2001-01-07 09:21:34 +00:00