Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-07-09 | Update from gnulib. | Paul Eggert | |
2005-07-08 | (getloadavg) [__CYGWIN__]: Port to cygwin. | Paul Eggert | |
[__linux__]: Allocate a big enough buffer for /proc/loadavg. [!LDAV_DONE]: Avoid unused variable warning. | |||
2005-07-03 | Include fcntl--.h rather than fcntl.h. | Paul Eggert | |
Do not include unistd-safer.h. (getloadavg): Don't call fd_safer; no longer needed now that we include fcntl--.h. | |||
2005-07-02 | Assume HAVE_UNISTD_H, i.e., include <unistd.h> unconditionally. | Jim Meyering | |
2005-07-01 | Assume HAVE_FCNTL_H (i.e., include <fcntl.h> unconditionally, | Jim Meyering | |
and don't include <sys/file.h>). | |||
2005-06-02 | Don't use "path" or "filename" to mean "file name" | Paul Eggert | |
in comments or local variable names. | |||
2005-05-14 | Update FSF postal mail address. | Jim Meyering | |
2005-04-11 | Include unistd-safer.h. | Paul Eggert | |
(getloadavg): Use fd_safer. | |||
2005-03-09 | Include intprops.h instead of limits.h. | Paul Eggert | |
(INT_STRLEN_BOUND): Remove. | |||
2004-08-02 | Include <stdbool.h>. | Paul Eggert | |
(getloadavg_initialized): Use bool for booleans. | |||
2004-07-12 | Include <errno.h>, <stdio.h>, <stdlib.h> even | Paul Eggert | |
if HAVE_GETLOADAVG is defined, so that the test program can work. (errno): Remove declaration; not needed in C89 or later. Include "c-strtod.h". Do not include locale.h or define setlocale; no longer needed. Include <limits.h>. (INT_STRLEN_BOUND): New macro. (getloadavg): Use it to compute buffer size. Don't assume that buffer will be properly terminated by 'read'. Use c_strtod instead of setlocale. (main) [defined TEST]: Return int, not void. | |||
2004-06-30 | Use `file system', not filesystem in a comment. | Jim Meyering | |
2004-04-04 | Sync from gnulib. | Jim Meyering | |
2004-03-30 | Merge changes from emacs (via gnulib). | Jim Meyering | |
2004-03-04 | (getloadavg): Use `true', not `1'. | Jim Meyering | |
2004-03-03 | Include "cloexec.h". | Jim Meyering | |
(getloadavg): Use set_cloexec_flag instead of manual fcntl call. | |||
2003-09-10 | (getloadavg, main): Define via prototypes. | Jim Meyering | |
2003-08-18 | Sync with gnulib. | Jim Meyering | |
2003-04-15 | Remove (or replace-with-TAB(s) to retain alignment) | Jim Meyering | |
each sequence of spaces before a TAB character. | |||
2000-06-19 | [HAVE_NLIST_H] (NLIST_STRUCT): Define. | Jim Meyering | |
2000-06-19 | revert last change | Jim Meyering | |
2000-06-18 | s/NLIST_STRUCT/HAVE_NLIST_H/. Remove big | Jim Meyering | |
multi-platform `#ifndef NLIST_STRUCT' block. | |||
1999-01-31 | Include locale.h. | Jim Meyering | |
[!HAVE_SETLOCALE]: Define-away setlocale. (getloadavg): Ensure the sscanf of /proc/getloadavg data uses the `C' numeric locale. Restore afterwards. | |||
1997-07-15 | correct cpp-indentation | Jim Meyering | |
1997-07-15 | Merge with FSF. | Jim Meyering | |
1997-01-18 | Add comment re HAVE_PSTAT_GETDYNAMIC. | Jim Meyering | |
1997-01-15 | Fix up indentation a little. | Jim Meyering | |
1997-01-15 | Indent cpp-directives to reflect nesting. | Jim Meyering | |
1996-12-07 | [__SVR4]: Define SVR4. | Jim Meyering | |
Remove duplicate `|| defined(SVR4)' disjunct guarding the #define KERNEL_FILE "/unix" definiton. | |||
1996-10-22 | [__linux__]: Don't bother with a.out/nlist/kernel | Jim Meyering | |
defines or includes -- Linux systems simply read /proc/loadavg. | |||
1996-10-10 | [__sun]: Define sun. Reported by Kaveh Ghazi. | Jim Meyering | |
1996-10-08 | [__hpux]: Define hpux. From Eric Backus. | Jim Meyering | |
1996-09-19 | Replace with FSF version. | Jim Meyering | |
1996-04-14 | Test cpp-defined __sun as well as sun, because | Jim Meyering | |
in strict ANSI mode, only __sun is defined. From Kaveh Ghazi. | |||
1996-04-10 | . | Jim Meyering | |