summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2000-07-04*** empty log message ***Jim Meyering
2000-07-04Make inclusion of <wchar.h> independent of whetherJim Meyering
HAVE_MBRTOWC is set. Required at least for irix-5.6, which lacks mbrtowc.
2000-07-04*** empty log message ***Jim Meyering
2000-07-04[HAVE_UTMPX_H]: Include <utmp.h> if HAVE_UTMP_H.Jim Meyering
This is necessary to get a definition of e.g., UTMP_FILE on HP-UX 10.20. From Bob Proulx.
2000-07-04*** empty log message ***Jim Meyering
2000-07-04(mbrtowc): Assign to *pwc, and return 1 only if result is nonzero.Jim Meyering
(iswprint): Use ISPRINT when substituting our own mbrtowc.
2000-07-02.Jim Meyering
2000-07-02(mbstate_t): Don't define here.Jim Meyering
2000-07-02*** empty log message ***Jim Meyering
2000-07-02(SIGCONT): Define if not already defined.Jim Meyering
2000-07-01.Jim Meyering
2000-07-01*** empty log message ***Jim Meyering
2000-07-01Use MOUNTED_FS_STAT_DEV instead of MOUNTED_NEXT_DEV,Jim Meyering
per change in ../m4/ls-mntd-fs.m4. (read_filesystem_list): Ignore symbolic links.
2000-07-01.Jim Meyering
2000-06-29*** empty log message ***Jim Meyering
2000-06-29Include <string.h> or <strings.h>, as appropriate, for declaration of strcmp.Jim Meyering
2000-06-29*** empty log message ***Jim Meyering
2000-06-29Include <stdlib.h>, for declaration of exit.Jim Meyering
2000-06-29*** empty log message ***Jim Meyering
2000-06-29(fsp_to_string) [HAVE_F_FSTYPENAME_IN_STATFS]:Jim Meyering
Avoid warning by casting result to `char *' to remove `const'.
2000-06-27.Jim Meyering
2000-06-27*** empty log message ***Jim Meyering
2000-06-27(libfetish_a_SOURCES): Remove readutmp.c.Jim Meyering
2000-06-27*** empty log message ***Jim Meyering
2000-06-27savedir now sets errno on failure and invokes xmalloc to get memory.Jim Meyering
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.
2000-06-26*** empty log message ***Jim Meyering
2000-06-26[HAVE_STDLIB_H]: Include stdlib.h.Jim Meyering
2000-06-25*** empty log message ***Jim Meyering
2000-06-25(xmalloc, xrealloc): Remove functions.Jim Meyering
Include xalloc.h. Don't include <stdlib.h>. Don't declare malloc, realloc.
2000-06-25*** empty log message ***Jim Meyering
2000-06-25(print_unicode_char): Work around ansi2knr deficiency.Jim Meyering
2000-06-24.Jim Meyering
2000-06-24*** empty log message ***Jim Meyering
2000-06-24[!HAVE_DECL_STRERROR_R]: Declare strerror_r.Jim Meyering
2000-06-23*** empty log message ***Jim Meyering
2000-06-23Include <wctype.h> after <wchar.h>,Jim Meyering
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).
2000-06-23*** empty log message ***Jim Meyering
2000-06-21ansideclifyJim Meyering
2000-06-21New file, from Bruno Haible. Required for BeOS.Jim Meyering
2000-06-21*** empty log message ***Jim Meyering
2000-06-21(xgetcwd): If the required pathname length is smallerJim Meyering
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.
2000-06-21*** empty log message ***Jim Meyering
2000-06-21(canon_host): Use malloc and memcpy to copy anJim Meyering
address, not strdup. Include <stdlib.h> and don't declare free().
2000-06-21*** empty log message ***Jim Meyering
2000-06-21(path_concat): Don't access dir[-1] if dir is the empty string.Jim Meyering
2000-06-21include getstr.hJim Meyering
2000-06-21*** empty log message ***Jim Meyering
2000-06-21(libfetish_a_SOURCES): Add getstr.c.Jim Meyering
(noinst_HEADERS): Add getstr.h.
2000-06-21(getstr): Move into a separate file.Jim Meyering
2000-06-21copyright dateJim Meyering