Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |