summaryrefslogtreecommitdiff
path: root/getloadavg.c
AgeCommit message (Collapse)AuthorFilesLines
2012-03-05Simplify copyrights using ranges of years.Paul Smith1-3/+1
The new GNU Maintainer's Manual allows the use of year ranges in certain situations; take advantage of this simplification.
2012-03-04Convert all "`'" quotes to "''" per new GNU Coding Standard guidelines.Paul Smith1-3/+3
Fixes Savannah bug #34530.
2012-01-16Update copyright notices.Paul Smith1-3/+3
2010-07-13Update copyrights for 2010.Paul Smith1-1/+1
2009-10-25Update copyright years.Paul Smith1-2/+2
2007-07-04* Update to GPLv3Paul Smith1-12/+10
* Update copyright to 2007 * Fix download URL for translation files (thanks to Thiemo Seufer)
2006-04-09Another round of cleanups:Paul Smith1-1/+1
- Add more warnings. - Rename variables that mask out-scope vars with the same name. - Remove all casts of return values from xmalloc, xrealloc, and alloca. - Remove casts of the first argument to xrealloc. - Convert all bcopy/bzero/bcmp invocations to use memcp/memmove/memset/memcmp.
2006-02-11Last of the copyright updates.Paul Smith1-2/+3
2006-02-11More copyright/license updates.Paul Smith1-17/+16
2004-05-16Various enhancementsPaul Smith1-1/+1
- OS/2 Patches - OpenVMS updates - Sanitize the handling of -include/sinclude with and without -k - Fix the setting of $< for order-only rules.
2002-10-14Convert the source code to use ANSI C style function definitions andPaul Smith1-6/+2
enable the automake ansi2knr capability. Right now this doesn't quite build using a K&R compiler because of a problem with the loadavg test program, but the rest of the code works. I'm asking the automake list about this problem.
2002-05-10Fix Debian bug #144306: pass target-specific variables into the environmentPaul Smith1-69/+22
properly. Fix configure: allow cross-compilation; fix getloadavg (still needs _lots_ of work!) Let $(call ...) functions to be self-referencing. Lets us do transitive closures, for example.
2002-04-22Updates and fixes for CVS builds.Paul Smith1-0/+2
Created a README.cvs describing the procedure.
1999-07-20* Fix memory leaks, fd leaks, and some long-standing bugs recognizing whenPaul Smith1-1/+1
targets need to have their modtimes rechecked (-n, etc.)
1998-10-03Checkpoint changes. Bug fixes, mostly.Paul Smith1-1/+1
1998-09-27Treat __GNU__ line NeXT: undefine BSD and FSCALE.Richard M. Stallman1-2/+8
1998-07-30GNU make release 3.77.Paul Smith1-6/+8
1997-07-22Test `__unix' along with `unix'.Richard M. Stallman1-1/+1
1997-07-15Add comment describing HAVE_PSTAT_GETDYNAMIC.Jim Meyering1-0/+8
1997-07-06[OSF_ALPHA]: Include sys/mbuf.h, sys/socket.h, net/route.h.Richard M. Stallman1-0/+3
1997-07-04[__GNU__]: Test for not NeXT.Richard M. Stallman1-2/+4
1997-04-07Last-minute changed for 3.75.1Paul Smith1-2/+2
1997-04-07Changes for make 3.75.1Paul Smith1-4/+4
1997-02-23[__GNU__] (NeXT, host_self):Miles Bader1-1/+7
New macros, to make hurd systems use the NeXT code for getting load averages.
1997-01-16[hpux && HAVE_PSTAT_GETDYNAMIC]: Use HPUX's pstat_getdynamic soJim Meyering1-379/+409
we don't need any special privileges to determine load averages. Patch from Kaveh Ghazi, based on a sample implementation from Richard J. Rauenzahn. Indent cpp-directives to reflect nesting.
1996-10-10[__hpux]: Define hpux. From Eric Backus.Jim Meyering1-1/+9
[__sun]: Define sun. Reported by Kaveh Ghazi.
1996-09-10(getloadavg): Add new code for SUNOS_5 to use -lkstat.Richard M. Stallman1-0/+45
1996-05-28[SOLARIS2]: Define SUNOS_5.Karl Heuer1-1/+1
1996-05-22[WIN32]: No-op as for [MSDOS].Roland McGrath1-3/+5
1996-02-01Update FSF address in comment.Karl Heuer1-1/+2
1995-12-28(getloadavg) [MSDOS]: Return 0 load instead of failing the call.Richard M. Stallman1-0/+10
1995-08-07[ps2]: Use nlist instead of knlist #ifdef _AIX.Roland McGrath1-1/+1
1995-08-01(getloadavg): Set FD_CLOEXEC flag on /dev/kmem file descriptor.Roland McGrath1-1/+11
1995-06-20[convex] (LOAD_AVE_TYPE, LDAV_CVT): Define to double, no conversion.Roland McGrath1-0/+8
1995-05-10AIX support from Tim Bell <tbel@afsmail.cern.ch>:Roland McGrath1-14/+32
[_AIX] (LOAD_AVE_TYPE, FSCALE, NLIST_STRUCT): Define these for AIX. (getloadavg) [_AIX]: Use `knlist' instead of `nlist'.
1995-01-07Include config.h first.Roland McGrath1-5/+6
1994-10-27[alliant && i860] (FSCALE): Move defn before #ifndef FSCALE.Roland McGrath1-7/+7
1994-09-28[alliant && i860] (LOAD_AVE_TYPE, FSCALE, NLIST_STRUCT): Define.Roland McGrath1-1/+16
1994-09-26REMOVE CONFIG_BROKETSDavid J. MacKenzie1-7/+0
1994-09-17(getloadavg): Add OSF_ALPHA support.Richard M. Stallman1-0/+13
1994-06-04Put #include of errno.h and decl of errno before #ifndef HAVE_GETLOADAVG.Roland McGrath1-8/+11
1993-11-03entered into RCSRoland McGrath1-1/+1
1993-10-03*** empty log message ***Roland McGrath1-0/+30
1993-09-20*** empty log message ***Roland McGrath1-1/+5
1993-08-12*** empty log message ***Roland McGrath1-1/+4
1993-08-02*** empty log message ***Roland McGrath1-0/+8
1993-08-01*** empty log message ***Roland McGrath1-0/+9
1993-08-01*** empty log message ***Roland McGrath1-3/+5
1993-07-30*** empty log message ***Roland McGrath1-4/+4
1993-07-27*** empty log message ***Roland McGrath1-1/+1