platform/upstream/coreutils.git
20 years ago(malloc): Returns void *, not char *.
Jim Meyering [Wed, 10 Sep 2003 09:07:43 +0000 (09:07 +0000)]
(malloc): Returns void *, not char *.
Include <string.h> unconditionally.
(strchr, memcpy, NULL): Do not define.

20 years ago(getenv): Remove decl.
Jim Meyering [Wed, 10 Sep 2003 09:07:30 +0000 (09:07 +0000)]
(getenv): Remove decl.

20 years agoInclude <stdlib.h>, <string.h> unconditionally.
Jim Meyering [Wed, 10 Sep 2003 09:07:17 +0000 (09:07 +0000)]
Include <stdlib.h>, <string.h> unconditionally.
(main): Define with a prototype.

20 years ago(physmem_total, physmem_available, main): Define with prototypes.
Jim Meyering [Wed, 10 Sep 2003 09:07:03 +0000 (09:07 +0000)]
(physmem_total, physmem_available, main): Define with prototypes.

20 years agoInclude <stdlib.h>, <string.h> unconditionally.
Jim Meyering [Wed, 10 Sep 2003 09:06:51 +0000 (09:06 +0000)]
Include <stdlib.h>, <string.h> unconditionally.

20 years ago(POINTER): Remove. All uses changed to void *.
Jim Meyering [Wed, 10 Sep 2003 09:06:37 +0000 (09:06 +0000)]
(POINTER): Remove.  All uses changed to void *.
(obstack_alloc_failed_handler, CALL_CHUNKFUN, CALL_FREEFUN,
_obstack_begin, _obstack_begin_1, _obstack_allocated_p)
(defined __STDC__ && __STDC__)]:
Remove nonprototyped code.
Include <stdlib.h> unconditionally.
(_obstack_begin, _obstack_begin_1, _obstack_newchunk,
_obstack_allocated_p, _obstack_free, obstack_free,
_obstack_memory_used, print_and_abort):
Define using prototypes.
(obstack_1grow, obstack_1grow_fast, obstack_alloc, obstack_base,
obstack_blank, obstack_blank_fast, obstack_copy, obstack_copy0,
obstack_finish, obstack_grow, obstack_grow0, obstack_make_room,
obstack_next_free, obstack_object_size, obstack_room) [0]:
Remove unused, unprototyped code.

20 years ago(PTR_INT_TYPE) [!defined __PTRDIFF_TYPE__]:
Jim Meyering [Wed, 10 Sep 2003 09:06:23 +0000 (09:06 +0000)]
(PTR_INT_TYPE) [!defined __PTRDIFF_TYPE__]:
Define to ptrdiff_t, without bothering to check HAVE_STDDEF_H.
(This type really should be intptr_t, but that's a C99ism.)
(_obstack_memcpy): Remove: all uses changed to memcpy.
Include <string.h> unconditionally.
(struct obstack): Assume __STDC__ for types of members
chunkfun, freefun, extra_arg.
(_obstack_newchunk, _obstack_free, _obstack_begin, _obstack_begin_1,
_obstack_memory_used, obstack_alloc_failed_handler, obstack_init,
obstack_begin, obstack_specify_allocation,
obstack_specify_allocation_with_arg, obstack_chunkfun,
obstack_freefun, obstack_free) [! (defined __STDC__ && __STDC__)]:
Remove unprototyped decls and the macros that use them.

20 years agoInclude <stdlib.h>, <string.h> unconditionally.
Jim Meyering [Wed, 10 Sep 2003 09:05:41 +0000 (09:05 +0000)]
Include <stdlib.h>, <string.h> unconditionally.
(free): Remove decl.

20 years agoInclude <stdlib.h> unconditionally.
Jim Meyering [Wed, 10 Sep 2003 09:05:31 +0000 (09:05 +0000)]
Include <stdlib.h> unconditionally.
(malloc): Remove decl.

20 years ago(STDC_HEADERS): Remove.
Jim Meyering [Wed, 10 Sep 2003 09:05:16 +0000 (09:05 +0000)]
(STDC_HEADERS): Remove.
Include <stdlib.h>, <string.h> unconditionally.

20 years ago(rmdir): Define with a prototype.
Jim Meyering [Wed, 10 Sep 2003 09:04:49 +0000 (09:04 +0000)]
(rmdir): Define with a prototype.

20 years agoInclude <stdlib.h>, <string.h> unconditionally.
Jim Meyering [Wed, 10 Sep 2003 09:03:56 +0000 (09:03 +0000)]
Include <stdlib.h>, <string.h> unconditionally.
Include savedir.h first, to test interface.

20 years agoInclude <stdlib.h>, <string.h> unconditionally.
Jim Meyering [Wed, 10 Sep 2003 09:03:45 +0000 (09:03 +0000)]
Include <stdlib.h>, <string.h> unconditionally.
(free): Remove decl.

20 years agoInclude <stddef.h>.
Jim Meyering [Wed, 10 Sep 2003 09:03:31 +0000 (09:03 +0000)]
Include <stddef.h>.
Use types required by C89 in prototype.

20 years agoInclude <string.h> unconditionally.
Jim Meyering [Wed, 10 Sep 2003 08:56:48 +0000 (08:56 +0000)]
Include <string.h> unconditionally.

20 years ago(__ptr_t): Remove; all uses changed to void *.
Jim Meyering [Wed, 10 Sep 2003 08:56:00 +0000 (08:56 +0000)]
(__ptr_t): Remove; all uses changed to void *.
Include <string.h> unconditionally.
Include <limits.h> unconditionally.
(LONG_MAX): Remove.
(__memchr): Define via a prototype.

20 years ago(__ptr_t): Remove; all uses changed to void *.
Jim Meyering [Wed, 10 Sep 2003 08:55:48 +0000 (08:55 +0000)]
(__ptr_t): Remove; all uses changed to void *.
Include <string.h> unconditionally.
(__P): Remove, and remove all uses.
(memcmp_bytes, memcmp_common_alignment, memcmp_not_common_alignment):
Remove forward decls; no longer needed.

20 years ago(__ptr_t): Remove; all uses changed to void *.
Jim Meyering [Wed, 10 Sep 2003 08:55:39 +0000 (08:55 +0000)]
(__ptr_t): Remove; all uses changed to void *.
Include <string.h> unconditionally.
Include <limits.h> unconditionally.
Include <stdlib.h> unconditionally.
(LONG_MAX): Remove.
(__memchr): Define via a prototype.

20 years agoInclude "sha.h" first.
Jim Meyering [Wed, 10 Sep 2003 08:55:24 +0000 (08:55 +0000)]
Include "sha.h" first.
Include <stdlib.h>, <string.h> unconditionally.

20 years ago(__P): Remove all uses. (It wasn't defined??)
Jim Meyering [Wed, 10 Sep 2003 08:55:04 +0000 (08:55 +0000)]
(__P): Remove all uses.  (It wasn't defined??)

20 years agoInclude "md5.h" first.
Jim Meyering [Wed, 10 Sep 2003 08:54:26 +0000 (08:54 +0000)]
Include "md5.h" first.
(md5_init_ctx, md5_read_ctx, md5_finish_ctx, md5_stream,
md5_buffer, md5_process_bytes, md5_process_block):
Define with prototypes.

20 years agoInclude <limits.h> unconditionally.
Jim Meyering [Wed, 10 Sep 2003 08:54:09 +0000 (08:54 +0000)]
Include <limits.h> unconditionally.
(UINT_MAX_32_BITS): Don't worry about non-__STDC__ case.
(__P): Remove; all uses removed.

20 years ago(rpl_realloc): Likewise. Also, define with a prototype.
Jim Meyering [Wed, 10 Sep 2003 08:53:52 +0000 (08:53 +0000)]
(rpl_realloc): Likewise.  Also, define with a prototype.

20 years agoInclude <stdlib.h>, for malloc; don't bother with stddef.h.
Jim Meyering [Wed, 10 Sep 2003 08:53:42 +0000 (08:53 +0000)]
Include <stdlib.h>, for malloc; don't bother with stddef.h.
rpl_malloc returns void *, not char *.

20 years agoInclude <stdlib.h>.
Jim Meyering [Wed, 10 Sep 2003 08:50:00 +0000 (08:50 +0000)]
Include <stdlib.h>.
(free): Remove decl.

20 years agoInclude makepath.h first, to test interface.
Jim Meyering [Wed, 10 Sep 2003 08:49:49 +0000 (08:49 +0000)]
Include makepath.h first, to test interface.
Include <stdlib.h> and <string.h> unconditionally.

20 years agoInclude long-options.h first, to test interface.
Jim Meyering [Wed, 10 Sep 2003 08:49:38 +0000 (08:49 +0000)]
Include long-options.h first, to test interface.
Include <stdlib.h> unconditionally.

20 years agoInclude <string.h> unconditionally.
Jim Meyering [Wed, 10 Sep 2003 08:49:26 +0000 (08:49 +0000)]
Include <string.h> unconditionally.

20 years agoInclude <stdlib.h>, <string.h> unconditionally.
Jim Meyering [Wed, 10 Sep 2003 08:49:12 +0000 (08:49 +0000)]
Include <stdlib.h>, <string.h> unconditionally.
(getenv): Do not declare.

20 years ago(free, malloc): Remove decls.
Jim Meyering [Wed, 10 Sep 2003 08:48:43 +0000 (08:48 +0000)]
(free, malloc): Remove decls.
Include <stdlib.h> unconditionally.

20 years agoInclude hard-locale.h first.
Jim Meyering [Wed, 10 Sep 2003 08:48:30 +0000 (08:48 +0000)]
Include hard-locale.h first.
Include <stdlib.h>, <string.h> unconditionally.

20 years agoInclude group-member.h first.
Jim Meyering [Wed, 10 Sep 2003 08:47:38 +0000 (08:47 +0000)]
Include group-member.h first.
Include <stdlib.h> unconditionally.

20 years agoInclude <string.h> unconditionally.
Jim Meyering [Wed, 10 Sep 2003 08:45:43 +0000 (08:45 +0000)]
Include <string.h> unconditionally.

20 years ago(const): Remove macro.
Jim Meyering [Wed, 10 Sep 2003 08:45:08 +0000 (08:45 +0000)]
(const): Remove macro.
(getopt_long, getopt_long_only, main): Define with prototype.

20 years ago(const): Remove macro.
Jim Meyering [Wed, 10 Sep 2003 08:44:46 +0000 (08:44 +0000)]
(const): Remove macro.
Include <string.h> unconditionally.
(my_index): Remove; all uses changed to strchr.
(strlen): Remove decl.
(exchange): Remove forward decl; no longer needed.
(exchange, _getopt_initialize, _getopt_internal, getopt, main):
Define with prototype.

20 years ago(struct option.name): Assume C89, and use 'const'.
Jim Meyering [Wed, 10 Sep 2003 08:44:28 +0000 (08:44 +0000)]
(struct option.name): Assume C89, and use 'const'.
(getopt, etopt_long, getopt_long_only, _getopt_internal)
[defined __GNU_LIBRARY__]: Assume C89, so we can always declare
with a prototype.

20 years ago(getloadavg, main): Define via prototypes.
Jim Meyering [Wed, 10 Sep 2003 08:44:15 +0000 (08:44 +0000)]
(getloadavg, main): Define via prototypes.

20 years agoAssume stdlib.h per the C89 spec.
Jim Meyering [Wed, 10 Sep 2003 08:42:04 +0000 (08:42 +0000)]
Assume stdlib.h per the C89 spec.

20 years agoInclude <stddef.h>.
Jim Meyering [Wed, 10 Sep 2003 08:37:38 +0000 (08:37 +0000)]
Include <stddef.h>.
(gethostname): Define with prototype.  Length is size_t, not int.

20 years agoInclude <stdlib.h>, <string.h> unconditionally.
Jim Meyering [Wed, 10 Sep 2003 08:37:15 +0000 (08:37 +0000)]
Include <stdlib.h>, <string.h> unconditionally.

20 years ago(FCT): Remove forward decl; no longer needed.
Jim Meyering [Wed, 10 Sep 2003 08:36:52 +0000 (08:36 +0000)]
(FCT): Remove forward decl; no longer needed.
(FCT): Define using a prototype.

20 years agoInclude fnmatch.h first, to test interface.
Jim Meyering [Wed, 10 Sep 2003 08:36:22 +0000 (08:36 +0000)]
Include fnmatch.h first, to test interface.
Include <string.h>, <stddef.h>, <stdlib.h> unconditionally.
(getenv): Remove decl.
(fnmatch): Define using a prototype.

20 years ago(__P): Remove. All uses changed to assume prototypes.
Jim Meyering [Wed, 10 Sep 2003 08:35:47 +0000 (08:35 +0000)]
(__P): Remove.  All uses changed to assume prototypes.

20 years agoInclude <stdlib.h> unconditionally.
Jim Meyering [Wed, 10 Sep 2003 08:31:57 +0000 (08:31 +0000)]
Include <stdlib.h> unconditionally.

20 years agoInclude <stdlib.h>, <string.h> unconditionally.
Jim Meyering [Wed, 10 Sep 2003 08:31:47 +0000 (08:31 +0000)]
Include <stdlib.h>, <string.h> unconditionally.

20 years ago(main): Define with a prototype.
Jim Meyering [Wed, 10 Sep 2003 08:31:35 +0000 (08:31 +0000)]
(main): Define with a prototype.

20 years agoInclude error.h first, to check interface.
Jim Meyering [Wed, 10 Sep 2003 08:31:14 +0000 (08:31 +0000)]
Include error.h first, to check interface.
Include <stdarg.h>, <stdlib.h>, <string.h> unconditionally.
(VA_START): Remove; all uses changeed to va_start.
(exit, strerror): Remove decls.
(error_print_progname): Prototype uncondionally.
Don't include <errno.h>; no longer needed.
(private_strerror): Remove.
(error_tail): Always define.
(error, error_at_line): Assume C89 or better; always use prototypes.

20 years ago(error, error_at_line, error_print_progname)
Jim Meyering [Wed, 10 Sep 2003 08:30:18 +0000 (08:30 +0000)]
(error, error_at_line, error_print_progname)
[! (defined (__STDC__) && __STDC__)]: Remove decls.

20 years agoInclude <stdlib.h>, <string.h> unconditionally.
Jim Meyering [Wed, 10 Sep 2003 08:29:47 +0000 (08:29 +0000)]
Include <stdlib.h>, <string.h> unconditionally.

20 years agoInclude <stddef.h>.
Jim Meyering [Wed, 10 Sep 2003 08:29:31 +0000 (08:29 +0000)]
Include <stddef.h>.
(bcopy): Define with prototype, using 'const' and 'void' and 'size_t'.

20 years agoInclude <string.h> unconditionally.
Jim Meyering [Wed, 10 Sep 2003 08:28:38 +0000 (08:28 +0000)]
Include <string.h> unconditionally.

20 years ago(atexit): Define using a prototype.
Jim Meyering [Wed, 10 Sep 2003 08:27:55 +0000 (08:27 +0000)]
(atexit): Define using a prototype.

20 years agoInclude <string.h>, <stdlib.h> unconditionally.
Jim Meyering [Wed, 10 Sep 2003 08:27:32 +0000 (08:27 +0000)]
Include <string.h>, <stdlib.h> unconditionally.
(POINTER_TYPE, pointer): Remove; all uses changed to void *.
(NULL): Remove.
(find_stack_direction, alloca): Use prototypes.

20 years agoInclude <string.h>, <stdlib.h> unconditionally.
Jim Meyering [Wed, 10 Sep 2003 08:26:42 +0000 (08:26 +0000)]
Include <string.h>, <stdlib.h> unconditionally.
Don't declare getenv or malloc.

20 years agoInclude <string.h> unconditionally.
Jim Meyering [Wed, 10 Sep 2003 08:25:43 +0000 (08:25 +0000)]
Include <string.h> unconditionally.

20 years agoInclude <stdlib.h> unconditionally.
Jim Meyering [Wed, 10 Sep 2003 08:24:00 +0000 (08:24 +0000)]
Include <stdlib.h> unconditionally.
(getusershell, setusershell, endusershell, readname, main):
Define with prototypes.

(readname, default_index, line_size, readname):
Use size_t, not int, for sizes.
(readname): If the size overflows, report an error instead of
looping forever.

20 years ago*** empty log message ***
Jim Meyering [Wed, 10 Sep 2003 06:33:31 +0000 (06:33 +0000)]
*** empty log message ***

20 years ago[!HAVE_UTIMES_NULL]: Include <sys/stat.h>, <fcntl.h>.
Jim Meyering [Wed, 10 Sep 2003 06:33:25 +0000 (06:33 +0000)]
[!HAVE_UTIMES_NULL]: Include <sys/stat.h>, <fcntl.h>.
(utime_null): Fix typo: 'st' was sometimes called 'sb'.

20 years ago*** empty log message ***
Jim Meyering [Tue, 9 Sep 2003 17:25:14 +0000 (17:25 +0000)]
*** empty log message ***

20 years agoAlphabetize includes.
Jim Meyering [Tue, 9 Sep 2003 17:25:02 +0000 (17:25 +0000)]
Alphabetize includes.
Remove duplicate inclusion of "same.h".

20 years ago.
Jim Meyering [Tue, 9 Sep 2003 07:14:03 +0000 (07:14 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Tue, 9 Sep 2003 05:50:28 +0000 (05:50 +0000)]
*** empty log message ***

20 years ago.
Jim Meyering [Tue, 9 Sep 2003 05:46:48 +0000 (05:46 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Mon, 8 Sep 2003 13:25:38 +0000 (13:25 +0000)]
*** empty log message ***

20 years ago(GZIP_ENV): Remove --rsyncable.
Jim Meyering [Mon, 8 Sep 2003 13:25:32 +0000 (13:25 +0000)]
(GZIP_ENV): Remove --rsyncable.
Didn't give enough of a benefit, mainly because it's not yet
in wide enough use.

20 years ago*** empty log message ***
Jim Meyering [Mon, 8 Sep 2003 13:21:22 +0000 (13:21 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Mon, 8 Sep 2003 13:03:07 +0000 (13:03 +0000)]
*** empty log message ***

20 years ago(VERSION): Bump to 5.0.92
Jim Meyering [Mon, 8 Sep 2003 12:38:00 +0000 (12:38 +0000)]
(VERSION): Bump to 5.0.92

20 years ago.
Jim Meyering [Mon, 8 Sep 2003 11:22:45 +0000 (11:22 +0000)]
.

20 years ago. COREUTILS-5_0_91 v5.0.91
Jim Meyering [Mon, 8 Sep 2003 09:17:47 +0000 (09:17 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Mon, 8 Sep 2003 09:17:38 +0000 (09:17 +0000)]
*** empty log message ***

20 years ago(programs): Use ../src, not $(srcdir)/../src.
Jim Meyering [Mon, 8 Sep 2003 09:17:32 +0000 (09:17 +0000)]
(programs): Use ../src, not $(srcdir)/../src.
(check-programs-vs-x): Fail if $(programs) is empty.

20 years ago.
Jim Meyering [Mon, 8 Sep 2003 06:38:37 +0000 (06:38 +0000)]
.

20 years ago.
Jim Meyering [Mon, 8 Sep 2003 06:09:10 +0000 (06:09 +0000)]
.

20 years agoAdd a comment.
Jim Meyering [Mon, 8 Sep 2003 06:08:13 +0000 (06:08 +0000)]
Add a comment.

20 years ago.
Jim Meyering [Mon, 8 Sep 2003 06:05:50 +0000 (06:05 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Sun, 7 Sep 2003 17:34:23 +0000 (17:34 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sun, 7 Sep 2003 17:33:47 +0000 (17:33 +0000)]
*** empty log message ***

20 years ago(D_INO, ENABLE_CYCLE_CHECK) [D_INO_IN_DIRENT]:
Jim Meyering [Sun, 7 Sep 2003 17:33:42 +0000 (17:33 +0000)]
(D_INO, ENABLE_CYCLE_CHECK) [D_INO_IN_DIRENT]:
Don't define.  These symbols are no longer used.

20 years ago*** empty log message ***
Jim Meyering [Sun, 7 Sep 2003 17:21:52 +0000 (17:21 +0000)]
*** empty log message ***

20 years agoWrite ^D as \cD.
Jim Meyering [Sun, 7 Sep 2003 17:21:48 +0000 (17:21 +0000)]
Write ^D as \cD.
Complete the change of 2003-08-02.

20 years ago*** empty log message ***
Jim Meyering [Sun, 7 Sep 2003 17:17:57 +0000 (17:17 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sun, 7 Sep 2003 17:17:54 +0000 (17:17 +0000)]
*** empty log message ***

20 years ago(EXTRA_DIST): Add vfat.
Jim Meyering [Sun, 7 Sep 2003 17:17:35 +0000 (17:17 +0000)]
(EXTRA_DIST): Add vfat.

20 years ago*** empty log message ***
Jim Meyering [Sun, 7 Sep 2003 17:16:31 +0000 (17:16 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sun, 7 Sep 2003 17:12:48 +0000 (17:12 +0000)]
*** empty log message ***

20 years ago(po-check): Use cvsu, so that a temporary source
Jim Meyering [Sun, 7 Sep 2003 17:12:34 +0000 (17:12 +0000)]
(po-check): Use cvsu, so that a temporary source
file in lib/ or src/ doesn't induce an unwarranted failure.
Add a kludge to filter out the sole generated source file that
also has translatable messages: false.c.

20 years ago.
Jim Meyering [Sun, 7 Sep 2003 16:57:30 +0000 (16:57 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Sun, 7 Sep 2003 16:46:16 +0000 (16:46 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sun, 7 Sep 2003 16:45:27 +0000 (16:45 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sun, 7 Sep 2003 16:43:40 +0000 (16:43 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sun, 7 Sep 2003 16:37:33 +0000 (16:37 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sun, 7 Sep 2003 16:36:05 +0000 (16:36 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sun, 7 Sep 2003 16:34:01 +0000 (16:34 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sun, 7 Sep 2003 16:32:02 +0000 (16:32 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sat, 6 Sep 2003 21:44:17 +0000 (21:44 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sat, 6 Sep 2003 21:37:44 +0000 (21:37 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sat, 6 Sep 2003 09:17:10 +0000 (09:17 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sat, 6 Sep 2003 08:49:43 +0000 (08:49 +0000)]
*** empty log message ***

20 years ago(enum): Add ALLOW_MISSING_OPTION.
Jim Meyering [Sat, 6 Sep 2003 08:49:37 +0000 (08:49 +0000)]
(enum): Add ALLOW_MISSING_OPTION.
(parse_options): Give a diagnostic for (but still accept) the
deprecated --allow-missing option.