Jim Meyering [Mon, 31 Jul 2000 06:50:26 +0000 (06:50 +0000)]
*** empty log message ***
Jim Meyering [Mon, 31 Jul 2000 06:48:43 +0000 (06:48 +0000)]
(cut_fields): Use `virtual memory exhausted', not `Memory exhausted'.
Jim Meyering [Mon, 31 Jul 2000 06:47:33 +0000 (06:47 +0000)]
Use `virtual memory exhausted', not `Memory exhausted'.
Jim Meyering [Mon, 31 Jul 2000 06:46:33 +0000 (06:46 +0000)]
*** empty log message ***
Jim Meyering [Mon, 31 Jul 2000 06:46:21 +0000 (06:46 +0000)]
[!HAVE_CONFIG_H]: Use `virtual memory exhausted', not `Memory exhausted'.
Jim Meyering [Mon, 31 Jul 2000 06:44:51 +0000 (06:44 +0000)]
Use `virtual memory exhausted', not `Memory exhausted'.
Jim Meyering [Sun, 30 Jul 2000 20:25:31 +0000 (20:25 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 19:51:03 +0000 (19:51 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 19:50:58 +0000 (19:50 +0000)]
(ISPRINT): Undef before defining to avoid warning.
Jim Meyering [Sun, 30 Jul 2000 18:44:58 +0000 (18:44 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 18:44:43 +0000 (18:44 +0000)]
Add quote marks to match new behavior.
Jim Meyering [Sun, 30 Jul 2000 18:42:07 +0000 (18:42 +0000)]
(remove_file): Quote the file names that are displayed with --verbose.
Jim Meyering [Sun, 30 Jul 2000 18:41:55 +0000 (18:41 +0000)]
(copy_internal): Quote the file names that are displayed
with --verbose and --backup.
Jim Meyering [Sun, 30 Jul 2000 17:08:10 +0000 (17:08 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 17:08:05 +0000 (17:08 +0000)]
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
Jim Meyering [Sun, 30 Jul 2000 17:06:49 +0000 (17:06 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 16:51:16 +0000 (16:51 +0000)]
.
Jim Meyering [Sun, 30 Jul 2000 16:50:16 +0000 (16:50 +0000)]
.
Jim Meyering [Sun, 30 Jul 2000 16:49:47 +0000 (16:49 +0000)]
.
Jim Meyering [Sun, 30 Jul 2000 16:45:35 +0000 (16:45 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 16:34:56 +0000 (16:34 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 16:34:48 +0000 (16:34 +0000)]
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
Jim Meyering [Sun, 30 Jul 2000 16:33:08 +0000 (16:33 +0000)]
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
Jim Meyering [Sun, 30 Jul 2000 16:30:59 +0000 (16:30 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 16:30:43 +0000 (16:30 +0000)]
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
Jim Meyering [Sun, 30 Jul 2000 16:29:15 +0000 (16:29 +0000)]
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
Jim Meyering [Sun, 30 Jul 2000 16:28:30 +0000 (16:28 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 16:28:25 +0000 (16:28 +0000)]
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
Jim Meyering [Sun, 30 Jul 2000 16:26:43 +0000 (16:26 +0000)]
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
Jim Meyering [Sun, 30 Jul 2000 16:25:01 +0000 (16:25 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 16:24:51 +0000 (16:24 +0000)]
(make_path): Quote the other instance, too.
Jim Meyering [Sun, 30 Jul 2000 16:21:57 +0000 (16:21 +0000)]
include quote.h.
Jim Meyering [Sun, 30 Jul 2000 16:21:39 +0000 (16:21 +0000)]
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
Jim Meyering [Sun, 30 Jul 2000 16:19:33 +0000 (16:19 +0000)]
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
Jim Meyering [Sun, 30 Jul 2000 16:16:16 +0000 (16:16 +0000)]
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
Add more precise diagnostics.
Jim Meyering [Sun, 30 Jul 2000 16:03:37 +0000 (16:03 +0000)]
(remove_cwd_entries): Quote one more file name.
Jim Meyering [Sun, 30 Jul 2000 16:01:48 +0000 (16:01 +0000)]
tweak diagnostic
Jim Meyering [Sun, 30 Jul 2000 15:32:15 +0000 (15:32 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 15:31:20 +0000 (15:31 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 15:29:27 +0000 (15:29 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 15:28:36 +0000 (15:28 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 15:24:27 +0000 (15:24 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 15:23:55 +0000 (15:23 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 15:17:34 +0000 (15:17 +0000)]
moved from ../src
Jim Meyering [Sun, 30 Jul 2000 15:01:11 +0000 (15:01 +0000)]
(do_move): Fix typo.
Jim Meyering [Sat, 29 Jul 2000 17:11:33 +0000 (17:11 +0000)]
(dir_name): Use __MSDOS__ in favor of MSDOS.
Jim Meyering [Sat, 29 Jul 2000 17:06:53 +0000 (17:06 +0000)]
*** empty log message ***
Jim Meyering [Sat, 29 Jul 2000 17:06:00 +0000 (17:06 +0000)]
(diacrit_diac): Use __MSDOS__ in favor of MSDOS.
Jim Meyering [Sat, 29 Jul 2000 16:45:30 +0000 (16:45 +0000)]
(base_name): Use ISSLASH rather than comparing against `/'.
Jim Meyering [Sat, 29 Jul 2000 14:55:51 +0000 (14:55 +0000)]
fix spelling error in comment: s/squirelled/squirreled/.
Jim Meyering [Sat, 29 Jul 2000 08:15:37 +0000 (08:15 +0000)]
*** empty log message ***
Jim Meyering [Sat, 29 Jul 2000 08:15:01 +0000 (08:15 +0000)]
remove prematurely-added ISSLASH definition
Jim Meyering [Sat, 29 Jul 2000 08:10:46 +0000 (08:10 +0000)]
(dir_name): Assert that there are no trailing slashes.
Jim Meyering [Sat, 29 Jul 2000 08:00:17 +0000 (08:00 +0000)]
*** empty log message ***
Jim Meyering [Sat, 29 Jul 2000 08:00:11 +0000 (08:00 +0000)]
(dir_name) [MSDOS]: Declare `lim' to be const.
Jim Meyering [Sat, 29 Jul 2000 06:17:27 +0000 (06:17 +0000)]
*** empty log message ***
Jim Meyering [Sat, 29 Jul 2000 06:17:02 +0000 (06:17 +0000)]
Include <limits.h>, <stdlib.h>, <wchar.h>, <wctype.h>.
(quote_name): Use mbrtowc to step through the filename string while
replacing nonprintables with question marks. Return the screen width,
not the strlen length. Do no output if the out stream is NULL.
(length_of_file_name_and_frills): Use the quote_name return value.
Jim Meyering [Sat, 29 Jul 2000 06:09:43 +0000 (06:09 +0000)]
*** empty log message ***
Jim Meyering [Sat, 29 Jul 2000 06:09:22 +0000 (06:09 +0000)]
tweak comments
Jim Meyering [Sat, 29 Jul 2000 06:02:28 +0000 (06:02 +0000)]
(mbswidth): Add a flags argument.
(mbswidth): New declaration.
(MBSW_ACCEPT_INVALID, MBSW_ACCEPT_UNPRINTABLE): New macros.
Jim Meyering [Sat, 29 Jul 2000 05:47:42 +0000 (05:47 +0000)]
.
Jim Meyering [Sat, 29 Jul 2000 05:42:14 +0000 (05:42 +0000)]
*** empty log message ***
Jim Meyering [Sat, 29 Jul 2000 05:41:55 +0000 (05:41 +0000)]
(temp_dir): Remove.
(temp_dirs, temp_dir_count, temp_dir_alloc): New vars.
(process_id): New var.
(usage): Describe new use of -T.
(add_temp_dir): New function.
(tempname): Use new temp_dirs array.
Do not discard information from the process-id or sequence
number, unless we have short file names.
(sighandle): Use process_id instead of getpid.
(main): Initialize process_id.
Add support for the new use of -T.
Jim Meyering [Sat, 29 Jul 2000 05:31:44 +0000 (05:31 +0000)]
sort's -T option can now appear multiple times.
Jim Meyering [Sat, 29 Jul 2000 05:25:34 +0000 (05:25 +0000)]
*** empty log message ***
Jim Meyering [Tue, 25 Jul 2000 22:23:05 +0000 (22:23 +0000)]
(change_file_owner): Save errno from a possibly failed chown,
and use that later. Otherwise, errno itself could be clobbered before used.
Jim Meyering [Tue, 25 Jul 2000 22:22:52 +0000 (22:22 +0000)]
(change_file_mode): Save errno from a possibly failed chown,
and use that later. Otherwise, errno itself could be clobbered before used.
Jim Meyering [Tue, 25 Jul 2000 22:22:29 +0000 (22:22 +0000)]
(change_file_group): Save errno from a possibly failed chown,
and use that later. Otherwise, errno itself could be clobbered before used.
Jim Meyering [Tue, 25 Jul 2000 13:06:31 +0000 (13:06 +0000)]
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
Add more precise diagnostics.
Jim Meyering [Tue, 25 Jul 2000 12:28:33 +0000 (12:28 +0000)]
tweak diagnostic
Jim Meyering [Tue, 25 Jul 2000 12:27:01 +0000 (12:27 +0000)]
*** empty log message ***
Jim Meyering [Tue, 25 Jul 2000 12:26:52 +0000 (12:26 +0000)]
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
Add more precise diagnostics.
Jim Meyering [Tue, 25 Jul 2000 12:18:06 +0000 (12:18 +0000)]
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
Jim Meyering [Tue, 25 Jul 2000 12:16:16 +0000 (12:16 +0000)]
(main): Remove unnecessary "%s" argument.
Jim Meyering [Mon, 24 Jul 2000 16:30:03 +0000 (16:30 +0000)]
*** empty log message ***
Jim Meyering [Mon, 24 Jul 2000 16:29:57 +0000 (16:29 +0000)]
(mbswidth): Add a flags argument.
(mbsnwidth): New function.
Jim Meyering [Mon, 24 Jul 2000 09:32:07 +0000 (09:32 +0000)]
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
Add more precise diagnostics.
Jim Meyering [Mon, 24 Jul 2000 06:42:26 +0000 (06:42 +0000)]
*** empty log message ***
Jim Meyering [Mon, 24 Jul 2000 06:42:17 +0000 (06:42 +0000)]
(jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.
Jim Meyering [Mon, 24 Jul 2000 06:42:04 +0000 (06:42 +0000)]
*** empty log message ***
Jim Meyering [Mon, 24 Jul 2000 06:41:58 +0000 (06:41 +0000)]
(_XOPEN_SOURCE): Don't define; this causes problems on Solaris 7.
(wcwidth) [!HAVE_DECL_WCWIDTH]: Declare.
Jim Meyering [Mon, 24 Jul 2000 06:14:32 +0000 (06:14 +0000)]
*** empty log message ***
Jim Meyering [Mon, 24 Jul 2000 06:14:19 +0000 (06:14 +0000)]
Include <wchar.h> even if ! (HAVE_MBRTOWC && 1 < MB_LEN_MAX),
so that mbstate_t is always defined.
Do not inspect MB_LEN_MAX, since it's incorrectly defined to
be 1 in at least one GCC installation, and this configuration
error is likely to be common. Ignoring MB_LEN_MAX hurts
performance on hosts that have mbrtowc but have only unibyte
locales, but I assume these hosts are rare.
Jim Meyering [Sun, 23 Jul 2000 21:48:28 +0000 (21:48 +0000)]
*** empty log message ***
Jim Meyering [Sun, 23 Jul 2000 21:48:17 +0000 (21:48 +0000)]
Streamline by invoking multibyte code only if needed.
<wchar.h>: Include only if HAVE_MBRTOWC && 1 < MB_LEN_MAX.
(MB_CUR_MAX): Redefine to 1 if ! (HAVE_MBRTOWC && 1 < MB_LEN_MAX).
(quotearg_buffer_restyled): If a unibyte locale, don't bother to
invoke multibyte primitives.
Jim Meyering [Sun, 23 Jul 2000 21:06:22 +0000 (21:06 +0000)]
*** empty log message ***
Jim Meyering [Sun, 23 Jul 2000 18:44:35 +0000 (18:44 +0000)]
fix typos (missing commas)
Jim Meyering [Sun, 23 Jul 2000 18:29:44 +0000 (18:29 +0000)]
*** empty log message ***
Jim Meyering [Sun, 23 Jul 2000 16:27:38 +0000 (16:27 +0000)]
*** empty log message ***
Jim Meyering [Sun, 23 Jul 2000 16:27:13 +0000 (16:27 +0000)]
Include <sys/param.h> if HAVE_SYS_PARAM_H is defined,
rather than if _POSIX_VERSION is defined. Remove declarations of
getpwuid, getgrgid, and getuid, now that they're in sys2.h.
Jim Meyering [Sun, 23 Jul 2000 15:36:43 +0000 (15:36 +0000)]
.
Jim Meyering [Sun, 23 Jul 2000 15:36:34 +0000 (15:36 +0000)]
(main): Give a better diagnostic for e.g.,
`dd if=/dev/fd0 seek=
100000000000'.
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
Add many, more precise diagnostics.
Jim Meyering [Sun, 23 Jul 2000 15:28:29 +0000 (15:28 +0000)]
*** empty log message ***
Jim Meyering [Sun, 23 Jul 2000 15:28:24 +0000 (15:28 +0000)]
[!HAVE_DECL_GETPWUID]: Declare getpwuid.
[!HAVE_DECL_GETGRGID]: Declare getgrgid.
[!HAVE_DECL_GETUID]: Declare getuid.
Jim Meyering [Sun, 23 Jul 2000 15:27:19 +0000 (15:27 +0000)]
*** empty log message ***
Jim Meyering [Sun, 23 Jul 2000 15:27:11 +0000 (15:27 +0000)]
(jm_CHECK_DECLS): Check for declarations of these, too:
getgrgid, getpwuid, getuid.
Jim Meyering [Sun, 23 Jul 2000 13:58:48 +0000 (13:58 +0000)]
*** empty log message ***
Jim Meyering [Sun, 23 Jul 2000 11:07:09 +0000 (11:07 +0000)]
*** empty log message ***
Jim Meyering [Sun, 23 Jul 2000 11:07:05 +0000 (11:07 +0000)]
Rename tests (and hence files) to have a short
enough prefix so that they're not truncated on 8+3 file systems.
Reported by Eli Zaretskii.
Jim Meyering [Sun, 23 Jul 2000 11:01:19 +0000 (11:01 +0000)]
*** empty log message ***