Jim Meyering [Fri, 1 Jan 1999 17:40:08 +0000 (17:40 +0000)]
Add comments.
(xcalloc, xmalloc, xrealloc): Remove prototypes.
(calloc): Remove `#ifdef NOT_USED' that used to hide this function.
Jim Meyering [Fri, 1 Jan 1999 17:36:43 +0000 (17:36 +0000)]
Add comments.
(PARAMS, XMALLOC, XCALLOC, XREALLOC): Define.
Based on changes from Akim Demaille.
Jim Meyering [Fri, 1 Jan 1999 17:34:18 +0000 (17:34 +0000)]
remove leading _ from _ARGMATCH_H_
Jim Meyering [Fri, 1 Jan 1999 07:10:00 +0000 (07:10 +0000)]
*** empty log message ***
Jim Meyering [Fri, 1 Jan 1999 07:09:08 +0000 (07:09 +0000)]
.
Jim Meyering [Fri, 1 Jan 1999 07:08:54 +0000 (07:08 +0000)]
.
Jim Meyering [Fri, 1 Jan 1999 07:06:23 +0000 (07:06 +0000)]
*** empty log message ***
Jim Meyering [Fri, 1 Jan 1999 07:03:16 +0000 (07:03 +0000)]
(quotearg_n_options): Make `options' parameter be `const'.
Jim Meyering [Fri, 1 Jan 1999 07:02:16 +0000 (07:02 +0000)]
(quotearg_buffer): Cast -1 to size_t before comparing.
(quotearg_n): Change type of 1st parameter from int to unsigned int.
(quotearg_n_options): Likewise.
From Akim Demaille.
Jim Meyering [Fri, 1 Jan 1999 06:47:04 +0000 (06:47 +0000)]
(humblock): Use ARGMATCH in place of argmatch.
Jim Meyering [Fri, 1 Jan 1999 06:43:04 +0000 (06:43 +0000)]
(get_version): Use XARGCASEMATCH in place of argmatch & co.
Jim Meyering [Thu, 31 Dec 1998 23:24:08 +0000 (23:24 +0000)]
.
Jim Meyering [Thu, 31 Dec 1998 22:03:13 +0000 (22:03 +0000)]
(libfu_a_SOURCES): Remove strcasecmp.c.
(BUILT_SOURCES): Add strcasecmp.c and strncasecmp.c.
(EXTRA_DIST): Add strcasecmp.cin.
(strcasecmp.c): New rule.
(strncasecmp.c): New rule.
Jim Meyering [Thu, 31 Dec 1998 21:59:58 +0000 (21:59 +0000)]
*** empty log message ***
Jim Meyering [Thu, 31 Dec 1998 21:59:42 +0000 (21:59 +0000)]
(main): Use XARGCASEMATCH in place of argmatch & co.
Jim Meyering [Thu, 31 Dec 1998 21:49:36 +0000 (21:49 +0000)]
(indicator_style_types): New variable.
(format_types): Rename from `formats'.
(color_args): Remove unnecessary `no' string.
(color_types): Remove corresponding `color_never' entry.
(main): Use ARGMATCH_TO_ARGUMENT.
(decode_switches): Use ARGCASEMATCH instead of argmatch code
in each of several cases.
From Akim Demaille.
Jim Meyering [Thu, 31 Dec 1998 21:41:04 +0000 (21:41 +0000)]
(main): Use XARGCASEMATCH in place of argmatch & co.
Jim Meyering [Thu, 31 Dec 1998 18:12:40 +0000 (18:12 +0000)]
fix typo
Jim Meyering [Thu, 31 Dec 1998 18:10:53 +0000 (18:10 +0000)]
white space changes
Jim Meyering [Thu, 31 Dec 1998 18:07:23 +0000 (18:07 +0000)]
(strncasecmp): Move to a separate file.
Add curly braces around some one-stmt-but-multiline blocks.
Jim Meyering [Thu, 31 Dec 1998 17:53:59 +0000 (17:53 +0000)]
*** empty log message ***
Jim Meyering [Thu, 31 Dec 1998 16:19:31 +0000 (16:19 +0000)]
remove trailing blanks
Jim Meyering [Thu, 31 Dec 1998 16:18:46 +0000 (16:18 +0000)]
lots of changes from Akim Demaille.
Jim Meyering [Thu, 31 Dec 1998 16:18:13 +0000 (16:18 +0000)]
lots of changes from Akim Demaille.
Jim Meyering [Thu, 31 Dec 1998 14:56:20 +0000 (14:56 +0000)]
(addext): Protoize.
Indent cpp directives to match nesting.
Jim Meyering [Thu, 31 Dec 1998 14:53:16 +0000 (14:53 +0000)]
(posix_time_parse): Change type of index `i' from int to unsigned int.
Jim Meyering [Thu, 31 Dec 1998 14:37:21 +0000 (14:37 +0000)]
Fix warnings from gcc -W -Wall
(__attribute__): Define.
(ATTRIBUTE_UNUSED): Define.
(yyerror): Mark parameter as unused with ATTRIBUTE_UNUSED.
(MonthDayTable): Add initializers for last entry.
(UnitsTable): Likewise.
(OtherTable): Likewise.
(MilitaryTable): Likewise.
Jim Meyering [Tue, 22 Dec 1998 22:46:53 +0000 (22:46 +0000)]
.
Jim Meyering [Tue, 22 Dec 1998 21:57:52 +0000 (21:57 +0000)]
*** empty log message ***
Jim Meyering [Sun, 20 Dec 1998 13:50:13 +0000 (13:50 +0000)]
.
Jim Meyering [Sun, 20 Dec 1998 02:31:54 +0000 (02:31 +0000)]
*** empty log message ***
Jim Meyering [Sun, 20 Dec 1998 02:31:47 +0000 (02:31 +0000)]
Use absolute path for final rm.
Jim Meyering [Sat, 19 Dec 1998 21:07:32 +0000 (21:07 +0000)]
remove .saved-state
Jim Meyering [Sat, 19 Dec 1998 17:21:00 +0000 (17:21 +0000)]
*** empty log message ***
Jim Meyering [Sat, 19 Dec 1998 17:20:03 +0000 (17:20 +0000)]
break long line
Jim Meyering [Sat, 19 Dec 1998 17:19:13 +0000 (17:19 +0000)]
break long line
Jim Meyering [Sat, 19 Dec 1998 17:18:23 +0000 (17:18 +0000)]
split long line
Jim Meyering [Sat, 19 Dec 1998 13:54:04 +0000 (13:54 +0000)]
.
Jim Meyering [Sat, 19 Dec 1998 13:53:37 +0000 (13:53 +0000)]
*** empty log message ***
Jim Meyering [Sat, 19 Dec 1998 13:53:21 +0000 (13:53 +0000)]
(my-distcheck): Run make with CFLAGS='-Wformat -Werror'.
Jim Meyering [Fri, 18 Dec 1998 22:11:39 +0000 (22:11 +0000)]
.
Jim Meyering [Fri, 18 Dec 1998 15:32:54 +0000 (15:32 +0000)]
remove semicolon -- from Lars
Jim Meyering [Fri, 18 Dec 1998 15:32:29 +0000 (15:32 +0000)]
*** empty log message ***
Jim Meyering [Fri, 18 Dec 1998 14:49:38 +0000 (14:49 +0000)]
*** empty log message ***
Jim Meyering [Fri, 18 Dec 1998 14:49:30 +0000 (14:49 +0000)]
*** empty log message ***
Jim Meyering [Fri, 18 Dec 1998 14:49:01 +0000 (14:49 +0000)]
(Makefile.am): Simplify rule.
Based on suggestion from Lars Hecking.
Jim Meyering [Fri, 18 Dec 1998 14:48:32 +0000 (14:48 +0000)]
*** empty log message ***
Jim Meyering [Fri, 18 Dec 1998 14:22:50 +0000 (14:22 +0000)]
(copy_internal): Remove errnoeous `%s: ' prefix
from format string. From Michiel Bacchiani.
Jim Meyering [Fri, 18 Dec 1998 14:22:30 +0000 (14:22 +0000)]
*** empty log message ***
Jim Meyering [Fri, 18 Dec 1998 14:09:29 +0000 (14:09 +0000)]
(UID_T_MAX, GID_T_MAX): Define them here instead.
Jim Meyering [Fri, 18 Dec 1998 14:09:19 +0000 (14:09 +0000)]
(UID_T_MAX, GID_T_MAX): Remove definitions.
Jim Meyering [Fri, 18 Dec 1998 14:07:58 +0000 (14:07 +0000)]
(MAXGID): Define.
Use gid_t (not int) as the type for `group' variables.
(parse_group): Use MAXGID, not INT_MAX.
Jim Meyering [Thu, 17 Dec 1998 13:56:25 +0000 (13:56 +0000)]
New options for tail: --follow=name, --follow=descriptor, --allow-missing
(Follow_mode): New enum.
(n_live_files): New function.
(tail_forever): Avoid starvation with --follow=name and a
continually-growing unlinked or renamed file.
Jim Meyering [Wed, 16 Dec 1998 13:41:13 +0000 (13:41 +0000)]
import latest
Jim Meyering [Sun, 13 Dec 1998 19:26:35 +0000 (19:26 +0000)]
add comment about opening exclusively
Jim Meyering [Sun, 13 Dec 1998 19:19:07 +0000 (19:19 +0000)]
.
Jim Meyering [Sun, 13 Dec 1998 19:01:59 +0000 (19:01 +0000)]
.
Jim Meyering [Sun, 13 Dec 1998 18:04:11 +0000 (18:04 +0000)]
Don't include stdlib.h and declare malloc and free.
This works around Solaris 2.7's conflicting prototype.
Reported by Karl Berry.
Jim Meyering [Sun, 13 Dec 1998 17:19:51 +0000 (17:19 +0000)]
(EXTRA_DIST): Add xstat.in.
Jim Meyering [Sat, 12 Dec 1998 06:22:56 +0000 (06:22 +0000)]
.
Jim Meyering [Sat, 12 Dec 1998 06:20:42 +0000 (06:20 +0000)]
In order to distinguish col(umn|or):
(init_column_info): Renamed from init_col_info.
(struct column_info): Renamed from struct col_info.
(struct color_ext_type): Renamed from struct col_ext_type.
From Akim Demaille.
Jim Meyering [Sat, 12 Dec 1998 06:11:24 +0000 (06:11 +0000)]
* src/ls.c: Group DIRED's code together.
(full_time, inhibit_group, col_ext_type): Declare static.
(dired_dump_obstack): Apply sizeof to variable, instead of its type.
(parse_ls_color): Rename ext2 as e2. Move into the block where it is used.
From Akim Demaille.
Jim Meyering [Sat, 12 Dec 1998 05:48:25 +0000 (05:48 +0000)]
.
Jim Meyering [Sat, 12 Dec 1998 05:46:44 +0000 (05:46 +0000)]
*** empty log message ***
Jim Meyering [Sat, 12 Dec 1998 05:46:02 +0000 (05:46 +0000)]
(lstat.c): Add rule to generate this from xstat.in.
(stat.c): Likewise.
Jim Meyering [Sat, 12 Dec 1998 05:45:39 +0000 (05:45 +0000)]
*** empty log message ***
Jim Meyering [Sat, 12 Dec 1998 05:45:29 +0000 (05:45 +0000)]
.
Jim Meyering [Fri, 11 Dec 1998 14:14:16 +0000 (14:14 +0000)]
(quotearg_buffer): Use `7' as the mask, not `3'.
From Bruno Haible.
Jim Meyering [Fri, 11 Dec 1998 14:13:40 +0000 (14:13 +0000)]
*** empty log message ***
Jim Meyering [Fri, 11 Dec 1998 14:13:29 +0000 (14:13 +0000)]
Add a test for the quotearg_buffer bug.
Jim Meyering [Fri, 11 Dec 1998 13:47:28 +0000 (13:47 +0000)]
*** empty log message ***
Jim Meyering [Fri, 11 Dec 1998 13:39:42 +0000 (13:39 +0000)]
*** empty log message ***
Jim Meyering [Fri, 11 Dec 1998 13:37:52 +0000 (13:37 +0000)]
(main): Arrange to exit unsuccessfully when stime fails.
From Andreas Schwab.
Jim Meyering [Fri, 11 Dec 1998 13:34:23 +0000 (13:34 +0000)]
import version 1.006
Jim Meyering [Mon, 7 Dec 1998 06:26:12 +0000 (06:26 +0000)]
.
Jim Meyering [Mon, 7 Dec 1998 06:25:54 +0000 (06:25 +0000)]
(dir_name): Rename from dirname.
Make argument `const'. Include "dirname.h"
Jim Meyering [Mon, 7 Dec 1998 06:25:29 +0000 (06:25 +0000)]
(noinst_HEADERS): Add dirname.h.
Jim Meyering [Mon, 7 Dec 1998 06:24:28 +0000 (06:24 +0000)]
.
Jim Meyering [Mon, 7 Dec 1998 06:21:12 +0000 (06:21 +0000)]
*** empty log message ***
Jim Meyering [Mon, 7 Dec 1998 06:20:50 +0000 (06:20 +0000)]
Use dir_name, not dirname. Include dirname.h.
Jim Meyering [Mon, 7 Dec 1998 05:54:49 +0000 (05:54 +0000)]
.
Jim Meyering [Mon, 7 Dec 1998 05:54:29 +0000 (05:54 +0000)]
*** empty log message ***
Jim Meyering [Mon, 7 Dec 1998 05:18:06 +0000 (05:18 +0000)]
*** empty log message ***
Jim Meyering [Mon, 7 Dec 1998 05:14:42 +0000 (05:14 +0000)]
*** empty log message ***
Jim Meyering [Mon, 7 Dec 1998 05:14:07 +0000 (05:14 +0000)]
(rpmatch) [!ENABLE_NLS]: Hard-code tests to use `^[yY]' and `^[nN]'.
From Karl Heuer.
Jim Meyering [Mon, 7 Dec 1998 05:12:48 +0000 (05:12 +0000)]
*** empty log message ***
Jim Meyering [Mon, 7 Dec 1998 04:35:20 +0000 (04:35 +0000)]
declare base_name
Jim Meyering [Mon, 7 Dec 1998 04:33:20 +0000 (04:33 +0000)]
*** empty log message ***
Jim Meyering [Mon, 7 Dec 1998 03:12:21 +0000 (03:12 +0000)]
*** empty log message ***
Jim Meyering [Mon, 7 Dec 1998 03:12:10 +0000 (03:12 +0000)]
ansideclify
Jim Meyering [Sun, 6 Dec 1998 23:09:39 +0000 (23:09 +0000)]
*** empty log message ***
Jim Meyering [Sun, 6 Dec 1998 23:09:29 +0000 (23:09 +0000)]
add ls -R . test
Jim Meyering [Sun, 6 Dec 1998 23:09:14 +0000 (23:09 +0000)]
.
Jim Meyering [Sun, 6 Dec 1998 23:08:55 +0000 (23:08 +0000)]
Fix `ls -R .' formatting bug that broke mktexlsr.
Include path-concat.h.
(basename_is_dot_or_dotdot): New function, derived from
is_not_dot_or_dotdot.
(is_not_dot_or_dotdot): Remove function.
(extract_dirs_from_files): Use `!basename_is_dot_or_dotdot'
instead of is_not_dot_or_dotdot and use path_concat instead of attach.
Jim Meyering [Sun, 6 Dec 1998 23:03:32 +0000 (23:03 +0000)]
(TESTS): s/quoting/tests/.
Jim Meyering [Sun, 6 Dec 1998 23:01:12 +0000 (23:01 +0000)]
renamed from quote
Jim Meyering [Sun, 6 Dec 1998 22:18:38 +0000 (22:18 +0000)]
*** empty log message ***
Jim Meyering [Sun, 6 Dec 1998 22:18:17 +0000 (22:18 +0000)]
Redefine putenv before including stdlib.h to work
around Solaris 2.7's conflicting prototype. Reported by Karl Berry.
Jim Meyering [Sun, 6 Dec 1998 21:06:22 +0000 (21:06 +0000)]
.
Jim Meyering [Sun, 6 Dec 1998 21:06:02 +0000 (21:06 +0000)]
.