lib


Log

Author Commit Date CI Message
Jim Meyering 8e09b7d8 2000-07-01T13:58:19 .
Jim Meyering 268eada9 2000-07-01T13:35:33 *** empty log message ***
Jim Meyering 9576a0ca 2000-07-01T13:35:28 Use MOUNTED_FS_STAT_DEV instead of MOUNTED_NEXT_DEV, per change in ../m4/ls-mntd-fs.m4. (read_filesystem_list): Ignore symbolic links.
Jim Meyering 79c1dec2 2000-07-01T07:13:53 .
Jim Meyering 6ae72006 2000-06-29T11:30:16 *** empty log message ***
Jim Meyering 27d8c463 2000-06-29T11:29:55 Include <string.h> or <strings.h>, as appropriate, for declaration of strcmp.
Jim Meyering 44da4664 2000-06-29T11:24:14 *** empty log message ***
Jim Meyering 49b8f6a4 2000-06-29T11:24:09 Include <stdlib.h>, for declaration of exit.
Jim Meyering effcc19b 2000-06-29T08:37:00 *** empty log message ***
Jim Meyering ed3c5c90 2000-06-29T08:30:03 (fsp_to_string) [HAVE_F_FSTYPENAME_IN_STATFS]: Avoid warning by casting result to `char *' to remove `const'.
Jim Meyering aa8f09a4 2000-06-27T10:10:13 .
Jim Meyering 11bc0e79 2000-06-27T10:09:49 (libfetish_a_SOURCES): Remove readutmp.c.
Jim Meyering e4dbd0b0 2000-06-27T10:08:15 *** empty log message ***
Jim Meyering 0cb2bede 2000-06-27T07:08:52 *** empty log message ***
Jim Meyering 49c86fdb 2000-06-27T07:08:48 savedir now sets errno on failure and invokes xmalloc to get memory. Fix a couple of other minor bugs while we're at it. (<unistd.h>): Do not include; there's no need. (NAMLEN): Remove macro. (malloc, realloc): Remove decls. (stpcpy): Likewise. ("xalloc.h"): Include. (NAME_SIZE_DEFAULT): New macro. (savedir): Use xmalloc / xrealloc to allocate memory. Use NAME_SIZE_DEFAULT if name_size is negative or overflows to zero. Skip "" directory entries. Use strlen to calculate directory entry length, since the old method is rarely used these days and isn't worth supporting. Don't use a pointer after freeing it. Check for integer overflow when calculating allocation size. Use memcpy to copy entries, instead of stpcpy. Set errno properly when returning NULL. Check for readdir error.
Jim Meyering 661f3072 2000-06-26T10:55:57 *** empty log message ***
Jim Meyering d68aebe0 2000-06-26T10:55:18 [HAVE_STDLIB_H]: Include stdlib.h.
Jim Meyering 2e50887e 2000-06-25T21:19:41 *** empty log message ***
Jim Meyering c81ef04f 2000-06-25T21:17:32 (xmalloc, xrealloc): Remove functions. Include xalloc.h. Don't include <stdlib.h>. Don't declare malloc, realloc.
Jim Meyering 8ec2d4de 2000-06-25T06:54:36 *** empty log message ***
Jim Meyering 45fb0477 2000-06-25T06:54:32 (print_unicode_char): Work around ansi2knr deficiency.
Jim Meyering f086c3e2 2000-06-24T12:21:52 .
Jim Meyering cba023ba 2000-06-24T12:01:29 *** empty log message ***
Jim Meyering 067a83f1 2000-06-24T12:01:03 [!HAVE_DECL_STRERROR_R]: Declare strerror_r.
Jim Meyering e986b397 2000-06-23T21:05:50 Include <wctype.h> after <wchar.h>, for Solaris 2.5. (mbrtowc, mbstate_t): Define substitutes if HAVE_MBRTOWC && HAVE_WCHAR_H && !HAVE_MBSTATE_T_OBJECT. (iswprint): Define to 1 if !defined iswprint && !HAVE_ISWPRINT, not if ! (HAVE_MBRTOWC && HAVE_WCHAR_H).
Jim Meyering e39dd1ba 2000-06-23T21:03:06 *** empty log message ***
Jim Meyering 138e407e 2000-06-23T14:03:02 *** empty log message ***
Jim Meyering 5972f7a7 2000-06-21T20:21:03 ansideclify
Jim Meyering 4f4a05dc 2000-06-21T20:20:27 New file, from Bruno Haible. Required for BeOS.
Jim Meyering 62d4a6ee 2000-06-21T20:16:10 *** empty log message ***
Jim Meyering 4f796b14 2000-06-21T20:16:03 (xgetcwd): If the required pathname length is smaller than 1024, return a memory chunk of least possible size, instead of size PATH_MAX + 2. In the loop, increment the size proportionally. Use free/xmalloc instead of xrealloc to avoid copying for very long paths.
Jim Meyering 2c096e99 2000-06-21T13:00:54 *** empty log message ***
Jim Meyering 011f3dd8 2000-06-21T13:00:49 (canon_host): Use malloc and memcpy to copy an address, not strdup. Include <stdlib.h> and don't declare free().
Jim Meyering a46cc0f8 2000-06-21T12:56:40 *** empty log message ***
Jim Meyering 8d447ad2 2000-06-21T12:56:33 (path_concat): Don't access dir[-1] if dir is the empty string.
Jim Meyering 831a09ff 2000-06-21T09:56:42 include getstr.h
Jim Meyering 3bf5fcd0 2000-06-21T09:21:52 *** empty log message ***
Jim Meyering da980d26 2000-06-21T09:21:22 (libfetish_a_SOURCES): Add getstr.c. (noinst_HEADERS): Add getstr.h.
Jim Meyering 90b3ed0d 2000-06-21T09:12:30 (getstr): Move into a separate file.
Jim Meyering f7e56ea9 2000-06-21T09:10:32 copyright date
Jim Meyering 14078b53 2000-06-21T09:09:57 *** empty log message ***
Jim Meyering 2629f21b 2000-06-21T09:09:22 New file, extracted from getline.c, with the following changes: new parameter, delim2; both delim[12] parameters have type `int', not `char'. The latter would lose with 8-bit delimiters.
Jim Meyering 513f43a2 2000-06-19T09:48:54 .
Jim Meyering 35455a4f 2000-06-19T07:25:01 [HAVE_NLIST_H] (NLIST_STRUCT): Define.
Jim Meyering 8b4395b2 2000-06-19T07:19:41 revert last change
Jim Meyering d898282a 2000-06-19T06:55:11 *** empty log message ***
Jim Meyering 59350b88 2000-06-19T06:51:58 .
Jim Meyering 825548e2 2000-06-18T18:17:03 *** empty log message ***
Jim Meyering d8e74bb3 2000-06-18T18:16:54 Include memory.h, string.h, and/or strings.h as needed. (this snippet comes from src/system.h).
Jim Meyering 55558298 2000-06-18T17:47:50 .
Jim Meyering b8156e30 2000-06-18T06:17:54 s/NLIST_STRUCT/HAVE_NLIST_H/. Remove big multi-platform `#ifndef NLIST_STRUCT' block.
Jim Meyering 2b1abb91 2000-06-17T18:46:16 .
Jim Meyering febc23f2 2000-06-16T12:51:33 *** empty log message ***
Jim Meyering e7c9de64 2000-06-16T12:51:28 (adjust_value): New function. (human_readable_inexact): Apply rounding style even when printing approximate values.
Jim Meyering 99ca3362 2000-06-15T12:47:56 *** empty log message ***
Jim Meyering 32cf91a6 2000-06-15T12:21:20 *** empty log message ***
Jim Meyering d3551c3d 2000-06-15T12:21:10 (human_readable_inexact): Allow an input block size that is not a multiple of the output block size, and vice versa.
Jim Meyering 3a6241e7 2000-06-15T07:58:06 *** empty log message ***
Jim Meyering 2880c2d2 2000-06-15T07:57:58 (get_date): Apply relative times after time zone indicator, not before.
Jim Meyering a6d409a9 2000-06-13T09:19:08 .
Jim Meyering bc54c457 2000-06-13T09:18:30 (all-local): Depend on lstat.c and stat.c.
Jim Meyering afaaab1f 2000-06-13T09:08:50 *** empty log message ***
Jim Meyering e82309f6 2000-06-13T09:08:47 [!HAVE_DECL_FREE]: Declare free in lstat.c.
Jim Meyering 5b7918f1 2000-06-13T09:06:10 *** empty log message ***
Jim Meyering 5088df71 2000-06-13T09:05:16 Include <stdlib.h> in lstat, to declare "free".
Jim Meyering 5f0ce263 2000-06-06T21:40:56 .
Jim Meyering 4e4ca06d 2000-06-04T13:28:45 *** empty log message ***
Jim Meyering e09a10a6 2000-06-04T13:20:20 Include <config.h> if HAVE_CONFIG_H.
Jim Meyering 6e95edfd 2000-06-04T08:13:25 .
Jim Meyering f83aa1c4 2000-06-04T06:47:31 (getugroups): Cast -1 to gid_t, for systems like SunOS4.1.4 for which gid_t is an unsigned type.
Jim Meyering bd85a91a 2000-06-03T22:09:03 move vmp decl back out to the scope where it belongs
Jim Meyering 6ed5deac 2000-06-03T21:47:48 *** empty log message ***
Jim Meyering 85b73e4b 2000-06-03T21:47:37 [!HAVE_DECL_MEMCHR]: Declare memchr.
Jim Meyering 77ee1909 2000-06-03T08:34:45 .
Jim Meyering 2d1f7148 2000-06-03T08:34:34 (install-exec-local): On systems with glibc-2.1 or newer, don't install charset.alias.
Jim Meyering 7b4c68df 2000-06-03T08:34:18 Change the Linux/glibc rules so they become empty on glibc-2.1 or newer.
Jim Meyering e25da287 2000-06-03T08:33:04 *** empty log message ***
Jim Meyering 084ec863 2000-06-02T11:54:35 *** empty log message ***
Jim Meyering bcf3308e 2000-06-02T11:20:47 Back out last change. Instead, do this... (read_filesystem_list) [MOUNTED_VMOUNT]: Set the me_dummy member using the same `ignore'-testing code.
Jim Meyering 389e79a9 2000-06-02T11:20:30 (ME_DUMMY): Add `autofs' to the list of ignored fs_type strings. From Mark D. Roth.
Jim Meyering 3004e2c7 2000-05-29T16:23:45 (read_filesystem_list) [MOUNTED_VMOUNT]: Ignore mounts with the `ignore' attribute. Based on a patch from Mark D. Roth.
Jim Meyering f0b68239 2000-05-29T16:23:04 *** empty log message ***
Jim Meyering bb07dc3f 2000-05-29T16:22:03 .
Jim Meyering e18ebeef 2000-05-22T06:24:50 Remove old, now-unnecessary `#ifdef __MSDOS__' block.
Jim Meyering c4ce48ac 2000-05-20T09:30:01 .
Jim Meyering 56622830 2000-05-18T11:12:39 *** empty log message ***
Jim Meyering 9a884a50 2000-05-18T11:06:39 (hash_rehash): Fix a nasty bug: copy the free entry list back, too, since it may have been modified by allocate_entry. (hash_delete): Rewrite not to use both(!) the assignment operator and the comma operator in an if-expression.
Jim Meyering 1ff18a19 2000-05-16T14:42:22 *** empty log message ***
Jim Meyering b6c5ffd2 2000-05-16T14:36:55 <sys/stat.h>, <sys/types.h>, <unistd.h>, (STDOUT_FILENO): Remove; no longer needed. "quotearg.h": Add include. (file_name): Do not bother to explicitly initialize to NULL; it's less efficient on some hosts. (close_stdout_status): Remove test as to whether stdout was already closed; it breaks for the case "echo x | sort >&-". Quote file name colons. Do not assume that _("write error") lacks format strings.
Jim Meyering 0c54b7ca 2000-05-15T10:22:01 *** empty log message ***
Jim Meyering 8e7b8079 2000-05-15T10:21:56 (close_stdout_set_file_name): Declare.
Jim Meyering accac54b 2000-05-15T10:21:25 (close_stdout_set_file_name): New function. (close_stdout_status): Use new file-scoped global. Return right away if fstat says the stdout file descriptor is invalid.
Jim Meyering e5a14433 2000-05-15T07:11:30 *** empty log message ***
Jim Meyering e1160528 2000-05-15T07:11:16 (version_etc_copyright): Update the copyright string that goes into all --version output.
Jim Meyering 3e09c787 2000-05-10T16:40:30 .
Jim Meyering 8f4b8753 2000-05-10T16:39:53 (close_stdout_set_status): Declare.
Jim Meyering 97a560dd 2000-05-10T16:39:35 [default_exit_status]: New file-scoped variable. (close_stdout_set_status): New function.
Jim Meyering 124cecef 2000-05-08T11:59:34 .
Jim Meyering e1c9e56e 2000-05-08T10:10:26 .
Jim Meyering f6d20d3f 2000-05-08T10:09:28 Don't include closeout.h. (parse_long_options): Don't call close_stdout for --version.