]> git.pld-linux.org Git - packages/atop.git/commitdiff
- wrong, glibc _still_ provides bogus (outdated since 1997) <sys/acct.h> on alpha
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 21 Jan 2007 22:43:28 +0000 (22:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    atop-acct-alpha.patch -> 1.4

atop-acct-alpha.patch [deleted file]

diff --git a/atop-acct-alpha.patch b/atop-acct-alpha.patch
deleted file mode 100644 (file)
index ad3ab46..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-diff -ur atop-1.10.orig/acctproc.c atop-1.10/acctproc.c
---- atop-1.10.orig/acctproc.c  2003-07-16 02:03:08.000000000 +0200
-+++ atop-1.10/acctproc.c       2003-07-16 02:08:24.000000000 +0200
-@@ -98,7 +98,11 @@
- static        off_t   acctsize;       /* previous size of account file          */
- int                   acctfd   = -1;  /* fd of account file                     */
--static count_t        acctexp(comp_t ct);
-+#ifdef __alpha__
-+static count_t        acctexp(time_t ct);
-+#else
-+static count_t        acctexp(comp_t ct);
-+#endif
- /*
- ** Semaphore-handling
-@@ -439,8 +443,13 @@
-               api->cpu.utime  = acctexp(acctrec.ac_utime);
-               api->mem.minflt = acctexp(acctrec.ac_minflt);
-               api->mem.majflt = acctexp(acctrec.ac_majflt);
-+#ifdef __alpha
-+              api->mem.iosw   = 0;
-+              api->dsk.ior    = 0;
-+#else
-               api->mem.iosw   = acctexp(acctrec.ac_swaps);
-               api->dsk.ior    = acctexp(acctrec.ac_rw);
-+#endif
-               strcpy(api->gen.name, acctrec.ac_comm);
-       }
-@@ -453,8 +462,13 @@
- /*
- ** expand the special compression-method
- */
-+#ifdef __alpha
-+static count_t
-+acctexp(time_t ct)
-+#else
- static count_t
- acctexp(comp_t ct)
-+#endif
- {
-         count_t       exp;
-         count_t val;
-Tylko w atop-1.10: acctproc.c~
This page took 0.119784 seconds and 4 git commands to generate.