Age | Commit message (Collapse) | Author | |
---|---|---|---|
2000-06-27 | . | Jim Meyering | |
2000-06-27 | *** empty log message *** | Jim Meyering | |
2000-06-27 | (count_entry): Don't set errno before | Jim Meyering | |
invoking savedir, and assume that errno is nonzero if savedir fails. | |||
2000-06-27 | (copy_dir): Don't set errno before | Jim Meyering | |
invoking savedir, and assume that errno is nonzero if savedir fails. | |||
2000-06-27 | *** empty log message *** | Jim Meyering | |
2000-06-27 | (change_dir_mode): Don't set errno before | Jim Meyering | |
invoking savedir, and assume that errno is nonzero if savedir fails. | |||
2000-06-27 | (change_dir_owner): Don't set errno before | Jim Meyering | |
invoking savedir, and assume that errno is nonzero if savedir fails. | |||
2000-06-27 | (change_dir_group): Don't set errno before | Jim Meyering | |
invoking savedir, and assume that errno is nonzero if savedir fails. | |||
2000-06-27 | *** empty log message *** | Jim Meyering | |
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-27 | (jm_PREREQ_READUTMP): Likewise. If either <utmp.h> or | Jim Meyering | |
<utmpx.h> exists, put readutmp.o into LIBOBJS. | |||
2000-06-27 | (_jm_DECL_HEADERS): Check for utmp.h as well. | Jim Meyering | |
2000-06-27 | *** empty log message *** | Jim Meyering | |
2000-06-27 | savedir 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-27 | *** empty log message *** | Jim Meyering | |
2000-06-27 | (show_dev): Round disk usage percentage up, not to nearest value. | Jim Meyering | |
Use integer arithmetic if it's easy. Fix bug when converting twos-complement negative values to floating point. | |||
2000-06-26 | *** empty log message *** | Jim Meyering | |
2000-06-26 | *** empty log message *** | Jim Meyering | |
2000-06-26 | *** empty log message *** | Jim Meyering | |
2000-06-26 | [HAVE_STDLIB_H]: Include stdlib.h. | Jim Meyering | |
2000-06-26 | *** empty log message *** | Jim Meyering | |
2000-06-26 | `id -Gn' (invoked by groups) would fail without giving a diagnostic | Jim Meyering | |
on malconfigured systems. (print_user): Give a diagnostic if number->name lookup fails. (print_group): Likewise. | |||
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 | *** empty log message *** | Jim Meyering | |
2000-06-25 | (TESTS): Add fail-perm. | Jim Meyering | |
2000-06-25 | *** empty log message *** | Jim Meyering | |
2000-06-25 | *** empty log message *** | Jim Meyering | |
2000-06-25 | *** empty log message *** | Jim Meyering | |
2000-06-25 | (copy_internal): Don't return return immediately after a | Jim Meyering | |
failed copy_dir call -- otherwise, the failure to read a single file in a source directory would cause the containing destination directory not to have owner/perms set properly. Reported by Piotr Kwapulinski. | |||
2000-06-25 | *** empty log message *** | Jim Meyering | |
2000-06-25 | *** empty log message *** | Jim Meyering | |
2000-06-25 | *** empty log message *** | Jim Meyering | |
2000-06-25 | *** empty log message *** | Jim Meyering | |
2000-06-25 | *** empty log message *** | Jim Meyering | |
2000-06-25 | Include stdio.h before wchar.h to work around | Jim Meyering | |
Linux header bug when _XOPEN_SOURCE is defined to 500. | |||
2000-06-25 | *** empty log message *** | Jim Meyering | |
2000-06-25 | (print_unicode_char): Work around ansi2knr deficiency. | Jim Meyering | |
2000-06-24 | *** empty log message *** | Jim Meyering | |
2000-06-24 | If the compile-test says | Jim Meyering | |
strerror_r doesn't work, then resort to a `run'-test that works on BeOS and segfaults on DEC Unix. | |||
2000-06-24 | check for decl unconditionally | Jim Meyering | |
2000-06-24 | . | Jim Meyering | |
2000-06-24 | . | Jim Meyering | |
2000-06-24 | *** empty log message *** | Jim Meyering | |
2000-06-24 | Revive this file -- to try out an experimental | Jim Meyering | |
version of AC_FUNC_STRERROR_R that may work even on BeOS, a system for which strerror does return char*, but which lacks a conveniently accessible declaration of the function. | |||
2000-06-24 | *** empty log message *** | Jim Meyering | |