Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-09-07 | *** empty log message *** | Jim Meyering | |
2001-09-07 | New 'uname' options -i or --hardware-platform, | Jim Meyering | |
and -o or --operating-system. 'uname -a' now outputs -i and -o information at the end. New uname option --kernel-version is an alias for -v. Uname option --release has been renamed to --kernel-release, and --sysname has been renamed to --kernel-name; the old options will work for a while, but are no longer documented. | |||
2001-09-07 | Correct copyright notice as per latest coding standards. | Jim Meyering | |
Remove list of options in comment, which wasn't worth maintaining separately from usage(). (print_element): Move definition up, avoiding the need for declaration and allowing inlining on some platforms. Keep track of whether something has been printed; this is more natural than modifying `toprint'. (PRINT_KERNEL_NAME): Renamed from PRINT_SYSNAME. (PRINT_KERNEL_RELEASE): Renamed from PRINT_RELEASE. (PRINT_KERNEL_VERSION): Renamed from PRINT_VERSION. (PRINT_HARDWARE_PLATFORM, PRINT_OPERATING_SYSTEM): New macros. (toprint): Remove global var; now local in `main'. (long_options, usage, main): Implement changes described in NEWS. Reorder options to reflect output order. (main): Use buffers one byte longer, for compatibility with Solaris 8. Output newline at end. -a sets `toprint' to -1 now; this is simpler. Do not bother invoking system calls like uname if the resulting information does not need to be printed. Do not fail if sysinfo fails; just print "unknown". | |||
2001-09-06 | *** empty log message *** | Jim Meyering | |
2001-09-06 | (join invocation): Describe the GNU | Jim Meyering | |
extension to join, which does not require sorted input when the input contains no unpairable lines. | |||
2001-09-04 | *** empty log message *** | Jim Meyering | |
2001-09-04 | Revert some of the previous change; intead, | Jim Meyering | |
fix the HAVE_GETCWD_NULL code to behave more like the !HAVE_GETCWD_NULL code used to. Include "xalloc.h". (xgetcwd): Do not return NULL when memory is exhausted; instead, invoke xalloc_die. | |||
2001-09-04 | *** empty log message *** | Jim Meyering | |
2001-09-04 | (get_link_name): Update use of xreadlink. | Jim Meyering | |
2001-09-04 | . | Jim Meyering | |
2001-09-04 | (jm_PREREQ_XREADLINK): New macro. | Jim Meyering | |
(jm_PREREQ): Use it. | |||
2001-09-04 | *** empty log message *** | Jim Meyering | |
2001-09-04 | (xreadlink): Update prototype. | Jim Meyering | |
2001-09-04 | (xreadlink): Omit size_t* arg. All uses changed. | Jim Meyering | |
Use ssize_t, not int, to store result of readlink. Check for ssize_t overflow as well as size_t overflow, as POSIX says the result of readlink is implementation-defined when ssize_t overflows. Remove unnecessary cast to char*. Use free+malloc instead of realloc, as the storage doesn't need to be preserved and it's clearer and can be more efficient that way. (SIZE_MAX, SSIZE_MAX): New macros, if <limits.h> doesn't declare. | |||
2001-09-03 | *** empty log message *** | Jim Meyering | |
2001-09-03 | (fnmatch_no_wildcards): Fix confusion between | Jim Meyering | |
usage of FNM_CASEFOLD and FNM_LEADING_DIR. The bug was spotted by Jim Meyering. | |||
2001-09-03 | include errno.h etc, too | Jim Meyering | |
2001-09-03 | *** empty log message *** | Jim Meyering | |
2001-09-03 | (jm_PREREQ_XGETCWD): Check for limits.h and | Jim Meyering | |
sys/param.h, as pathmax.h includes them. | |||
2001-09-03 | *** empty log message *** | Jim Meyering | |
2001-09-03 | tweak comment | Jim Meyering | |
2001-09-03 | (xreadlink): Preserve errno around `free' during failure. | Jim Meyering | |
2001-09-03 | update comment re power of 2 | Jim Meyering | |
2001-09-03 | Fix the !HAVE_GETCWD_NULL code to behave more | Jim Meyering | |
like the HAVE_GETCWD_NULL code. Include pathmax.h if not HAVE_GETCWD. Do not include xalloc.h. (INITIAL_BUFFER_SIZE): New symbol. Do not use xmalloc / xrealloc, since the caller is responsible for handling errors. Preserve errno around `free' during failure. Do not overrun buffer when using getwd. | |||
2001-09-03 | . | Jim Meyering | |
2001-09-03 | . | Jim Meyering | |
2001-09-03 | *** empty log message *** | Jim Meyering | |
2001-09-03 | (jm_PREREQ): Add jm_PREREQ_XGETCWD. | Jim Meyering | |
(jm_PREREQ_XGETCWD): New macro. | |||
2001-09-03 | *** empty log message *** | Jim Meyering | |
2001-09-03 | *** empty log message *** | Jim Meyering | |
2001-09-03 | (xgetcwd): Use HAVE_GETCWD_NULL, not (defined __GLIBC__ && __GLIBC__ >= 2), | Jim Meyering | |
to decide whether to use getcwd (NULL, 0). | |||
2001-09-02 | *** empty log message *** | Jim Meyering | |
2001-09-02 | Don't pass an argument to a sourced script. | Jim Meyering | |
2001-09-02 | Don't pass an argument to a sourced script. | Jim Meyering | |
2001-09-02 | Change usage not to use $1. | Jim Meyering | |
That's not portable to e.g., Solaris2.6's /bin/sh. Communicate via an envvar instead. | |||
2001-09-02 | update for new priv-check usage | Jim Meyering | |
2001-09-02 | *** empty log message *** | Jim Meyering | |
2001-09-02 | (alpha): Depend on local-check so that they run a little earlier. | Jim Meyering | |
2001-09-02 | *** empty log message *** | Jim Meyering | |
2001-09-02 | *** empty log message *** | Jim Meyering | |
2001-09-02 | *** empty log message *** | Jim Meyering | |
2001-09-02 | *** empty log message *** | Jim Meyering | |
2001-09-02 | *** empty log message *** | Jim Meyering | |
2001-09-02 | *** empty log message *** | Jim Meyering | |
2001-09-02 | *** empty log message *** | Jim Meyering | |
2001-09-02 | Update from GNU libc. | Jim Meyering | |
2001-09-01 | *** empty log message *** | Jim Meyering | |
2001-09-01 | (show_point): Use canonicalize_file_name, if possible. | Jim Meyering | |
[HAVE_RESOLVEPATH], [!HAVE_RESOLVEPATH]: Use malloc, not alloca, so that these two paths also produce `resolved' in malloc'd storage. Free that memory when done with it. | |||
2001-09-01 | *** empty log message *** | Jim Meyering | |
2001-09-01 | (jm_MACROS): Check for canonicalize_file_name. | Jim Meyering | |