diff options
Diffstat (limited to 'devel/libgtop2/files')
-rw-r--r-- | devel/libgtop2/files/patch-ah | 38 | ||||
-rw-r--r-- | devel/libgtop2/files/patch-configure | 15 | ||||
-rw-r--r-- | devel/libgtop2/files/patch-lib::command.c | 10 | ||||
-rw-r--r-- | devel/libgtop2/files/patch-lib::lib.pl | 62 | ||||
-rw-r--r-- | devel/libgtop2/files/patch-lib::read.c | 28 | ||||
-rw-r--r-- | devel/libgtop2/files/patch-lib::write.c | 28 | ||||
-rw-r--r-- | devel/libgtop2/files/patch-ltmain.sh | 42 | ||||
-rw-r--r-- | devel/libgtop2/files/patch-src::daemon::io.c | 58 | ||||
-rw-r--r-- | devel/libgtop2/files/patch-src_daemon_server.c | 17 | ||||
-rw-r--r-- | devel/libgtop2/files/patch-sysdeps::freebsd::procmem.c | 30 | ||||
-rw-r--r-- | devel/libgtop2/files/patch-sysdeps::freebsd::proctime.c | 48 | ||||
-rw-r--r-- | devel/libgtop2/files/patch-sysdeps_common_fsusage.c | 29 | ||||
-rw-r--r-- | devel/libgtop2/files/patch-sysdeps_common_fsusage.h | 25 | ||||
-rw-r--r-- | devel/libgtop2/files/patch-sysdeps_common_mountlist.c | 20 | ||||
-rw-r--r-- | devel/libgtop2/files/patch-sysdeps_freebsd_Makefile.in | 20 | ||||
-rw-r--r-- | devel/libgtop2/files/patch-sysdeps_freebsd_uptime.c | 13 |
16 files changed, 0 insertions, 483 deletions
diff --git a/devel/libgtop2/files/patch-ah b/devel/libgtop2/files/patch-ah deleted file mode 100644 index bbffe4a0c..000000000 --- a/devel/libgtop2/files/patch-ah +++ /dev/null @@ -1,38 +0,0 @@ ---- sysdeps/freebsd/procmap.c.orig Wed Mar 10 21:23:52 2004 -+++ sysdeps/freebsd/procmap.c Thu Mar 11 21:45:33 2004 -@@ -104,7 +104,7 @@ - glibtop_map_entry *maps; - #if defined __FreeBSD__ - struct vnode vnode; --#if __FreeBSD_version >= 500039 -+#if __FreeBSD_version < 500039 - struct inode inode; - #endif - #endif -@@ -122,8 +122,10 @@ - - /* Get the process data */ - pinfo = kvm_getprocs (server->machine.kd, KERN_PROC_PID, pid, &count); -- if ((pinfo == NULL) || (count < 1)) -+ if ((pinfo == NULL) || (count < 1)) { - glibtop_error_io_r (server, "kvm_getprocs (%d)", pid); -+ return NULL; -+ } - - /* Now we get the memory maps. */ - -@@ -280,13 +282,9 @@ - &inode, sizeof (inode)) != sizeof (inode)) - glibtop_error_io_r (server, "kvm_read (inode)"); - -- if (kvm_read (server->machine.kd, -- (unsigned long) vnode.v_mount, -- &mount, sizeof (mount)) != sizeof (mount)) -- glibtop_error_io_r (server, "kvm_read (mount)"); --#endif - maps [i-1].inode = inode.i_number; - maps [i-1].device = inode.i_dev; -+#endif - #endif - } while (entry.next != first); - diff --git a/devel/libgtop2/files/patch-configure b/devel/libgtop2/files/patch-configure deleted file mode 100644 index 662f75ac3..000000000 --- a/devel/libgtop2/files/patch-configure +++ /dev/null @@ -1,15 +0,0 @@ ---- configure.orig Thu Mar 11 15:38:00 2004 -+++ configure Thu Mar 11 15:38:00 2004 -@@ -1917,9 +1917,9 @@ - - # libtool versioning - LT_RELEASE=$LIBGTOP_MAJOR_VERSION.$LIBGTOP_MINOR_VERSION --LT_CURRENT=$LIBGTOP_CURRENT --LT_REVISION=$LIBGTOP_REVISION --LT_AGE=$LIBGTOP_AGE -+LT_CURRENT=2 -+LT_REVISION=0 -+LT_AGE=0 - LT_VERSION_INFO="-version-info ${LT_CURRENT}:${LT_REVISION}:${LT_AGE}" - - diff --git a/devel/libgtop2/files/patch-lib::command.c b/devel/libgtop2/files/patch-lib::command.c deleted file mode 100644 index 4bb3aefb1..000000000 --- a/devel/libgtop2/files/patch-lib::command.c +++ /dev/null @@ -1,10 +0,0 @@ ---- lib/command.c.orig Tue Sep 9 09:47:58 2003 -+++ lib/command.c Tue Sep 9 08:14:33 2003 -@@ -38,6 +38,7 @@ - glibtop_init_r (&server, 0, 0); - - memset (&cmnd, 0, sizeof (glibtop_command)); -+ memset (&response, 0, sizeof (glibtop_response)); - - cmnd.command = command; - diff --git a/devel/libgtop2/files/patch-lib::lib.pl b/devel/libgtop2/files/patch-lib::lib.pl deleted file mode 100644 index 6e08ba030..000000000 --- a/devel/libgtop2/files/patch-lib::lib.pl +++ /dev/null @@ -1,62 +0,0 @@ ---- lib/lib.pl.orig Mon Sep 1 20:17:45 2003 -+++ lib/lib.pl Wed Sep 3 11:53:12 2003 -@@ -116,6 +116,8 @@ - $param_decl = ''; - $send_size = ''; - $send_ptr = ''; -+ $send_buf_decl = ''; -+ $send_buf = ''; - $nr_params = (@params = split(/:/, $param_def, 9999)); - for ($param = 1; $param <= $nr_params; $param++) { - $list = $params[$param]; -@@ -135,28 +137,37 @@ - - $fields[$field]; - $call_param = $call_param . ', ' . $fields[$field]; -- if ($send_ptr eq '') { -- $send_ptr = "\n\tconst void *send_ptr = &" . -- -- $fields[$field] . ';'; -- } -- if ($send_size eq '') { -- $send_size = "\n\tconst size_t send_size =\n\t\t"; -+ if ($send_buf eq '') { -+ $send_size = "\n\tconst size_t send_size = "; -+ $send_ptr = "\n\tconst void *send_ptr = &"; -+ if ($nr_params == 1 && $count == 1) { -+ $send_size = $send_size . 'sizeof (' . $fields[$field] . ');'; -+ $send_ptr = $send_ptr . $fields[$field] . ';'; -+ last; -+ } -+ $send_size = $send_size . 'sizeof (send_buf);'; -+ $send_ptr = $send_ptr . 'send_buf;'; - } - else { -- $send_size = $send_size . ' + '; -+ $send_buf_decl = $send_buf_decl . ' '; -+ $send_buf = $send_buf . ', '; - } -- $send_size = $send_size . 'sizeof (' . $fields[$field] . ')'; -+ $send_buf_decl = $send_buf_decl . '' . $convert{$type} . ' ' . -+ -+ $fields[$field] . ';'; -+ $send_buf = $send_buf . '' . $fields[$field]; - } - } -- if ($send_size ne '') { -- $send_size = $send_size . ';'; -- } -- else { -+ if ($send_size eq '') { - $send_size = "\n\tconst size_t send_size = 0;"; - } - if ($send_ptr eq '') { - $send_ptr = "\n\tconst void *send_ptr = NULL;"; -+ } -+ if ($send_buf ne '') { -+ $send_ptr = "\n\tconst struct { " . $send_buf_decl . " } send_buf =\n" . -+ "\t\t{ " . $send_buf . ' };' . -+ $send_ptr; - } - } - diff --git a/devel/libgtop2/files/patch-lib::read.c b/devel/libgtop2/files/patch-lib::read.c deleted file mode 100644 index 38583f876..000000000 --- a/devel/libgtop2/files/patch-lib::read.c +++ /dev/null @@ -1,28 +0,0 @@ ---- lib/read.c.orig Mon Oct 20 11:19:41 2003 -+++ lib/read.c Fri Nov 14 14:37:00 2003 -@@ -22,6 +22,7 @@ - */ - - #include <config.h> -+#include <errno.h> - #include <glibtop/read.h> - #include <libgnome/gnome-i18n.h> - -@@ -68,12 +69,16 @@ - fprintf (stderr, "LIBRARY: really reading %d bytes.\n", size); - #endif - -+retry: - if (server->socket) { - do_read (server->socket, buf, size); - } else { - ret = read (server->input [0], buf, size); - } - -- if (ret < 0) -+ if (ret < 0) { -+ if (errno == EINTR) -+ goto retry; - glibtop_error_io_r (server, _("read %d bytes"), size); -+ } - } diff --git a/devel/libgtop2/files/patch-lib::write.c b/devel/libgtop2/files/patch-lib::write.c deleted file mode 100644 index 45c2434ea..000000000 --- a/devel/libgtop2/files/patch-lib::write.c +++ /dev/null @@ -1,28 +0,0 @@ ---- lib/write.c.orig Mon Sep 8 23:05:01 2003 -+++ lib/write.c Tue Sep 9 10:04:37 2003 -@@ -21,6 +21,7 @@ - Boston, MA 02111-1307, USA. - */ - -+#include <errno.h> - #include <glibtop/write.h> - - /* Writes some data to server. */ -@@ -38,12 +39,16 @@ - fprintf (stderr, "LIBRARY: really writing %d bytes.\n", size); - #endif - -+retry: - if (server->socket) { - ret = send (server->socket, buf, size, 0); - } else { - ret = write (server->output [1], buf, size); - } - -- if (ret < 0) -+ if (ret < 0) { -+ if (errno == EINTR) -+ goto retry; - glibtop_error_io_r (server, _("write %d bytes"), size); -+ } - } diff --git a/devel/libgtop2/files/patch-ltmain.sh b/devel/libgtop2/files/patch-ltmain.sh deleted file mode 100644 index 54bbcbc57..000000000 --- a/devel/libgtop2/files/patch-ltmain.sh +++ /dev/null @@ -1,42 +0,0 @@ ---- ltmain.sh.orig Sun Aug 24 18:53:15 2003 -+++ ltmain.sh Sun Aug 24 18:57:42 2003 -@@ -1060,8 +1060,16 @@ - continue - ;; - -+ -pthread) -+ compile_command="$compile_command -pthread" -+ finalize_command="$finalize_command -pthread" -+ compiler_command="$compiler_flags -pthread" -+ continue -+ ;; -+ - -module) - module=yes -+ build_old_libs=no - continue - ;; - -@@ -2444,6 +2452,9 @@ - *-*-openbsd*) - # Do not include libc due to us having libc/libc_r. - ;; -+ *-*-freebsd*) -+ # FreeBSD doesn't need this... -+ ;; - *) - # Add libc to deplibs on all other systems if necessary. - if test $build_libtool_need_lc = "yes"; then -@@ -4210,10 +4221,12 @@ - fi - - # Install the pseudo-library for information purposes. -+ if /usr/bin/false; then - name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` - instname="$dir/$name"i - $show "$install_prog $instname $destdir/$name" - $run eval "$install_prog $instname $destdir/$name" || exit $? -+ fi - - # Maybe install the static library, too. - test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff --git a/devel/libgtop2/files/patch-src::daemon::io.c b/devel/libgtop2/files/patch-src::daemon::io.c deleted file mode 100644 index 0a11649ce..000000000 --- a/devel/libgtop2/files/patch-src::daemon::io.c +++ /dev/null @@ -1,58 +0,0 @@ ---- src/daemon/io.c.orig Sun Oct 19 12:54:32 2003 -+++ src/daemon/io.c Mon Dec 1 13:50:25 2003 -@@ -21,6 +21,7 @@ - Boston, MA 02111-1307, USA. - */ - -+#include <errno.h> - #include "daemon.h" - - void -@@ -35,9 +36,13 @@ - resp->offset = offset; - resp->data_size = data_size; - -+retry1: - if (s == 0) { -- if (write (1, (const void *) resp, sizeof (glibtop_response)) < 0) -+ if (write (1, (const void *) resp, sizeof (glibtop_response)) < 0) { -+ if (errno == EINTR) -+ goto retry1; - glibtop_warn_io ("write"); -+ } - } else { - if (send (s, (const void *) resp, sizeof (glibtop_response), 0) < 0) - glibtop_warn_io ("send"); -@@ -47,10 +52,13 @@ - #ifdef REAL_DEBUG - fprintf (stderr, "Writing %d bytes of data.\n", resp->data_size); - #endif -- -+retry2: - if (s == 0) { -- if (write (1, data, resp->data_size) < 0) -+ if (write (1, data, resp->data_size) < 0) { -+ if (errno == EINTR) -+ goto retry2; - glibtop_warn_io ("write"); -+ } - } else { - if (send (s, data, resp->data_size, 0) , 0) - glibtop_warn_io ("send"); -@@ -66,6 +74,7 @@ - size_t already_read = 0, remaining = total_size; - - while (already_read < total_size) { -+retry: - if (s) - nread = recv (s, ptr, remaining, 0); - else -@@ -77,6 +86,8 @@ - } - - if (nread <= 0) { -+ if (errno == EINTR) -+ goto retry; - glibtop_warn_io ("recv"); - return 0; - } diff --git a/devel/libgtop2/files/patch-src_daemon_server.c b/devel/libgtop2/files/patch-src_daemon_server.c deleted file mode 100644 index bf0bba5c7..000000000 --- a/devel/libgtop2/files/patch-src_daemon_server.c +++ /dev/null @@ -1,17 +0,0 @@ ---- src/daemon/server.c.orig Mon Feb 17 15:22:19 2003 -+++ src/daemon/server.c Mon Feb 17 15:23:31 2003 -@@ -88,11 +88,12 @@ - if (strcmp (uts.sysname, LIBGTOP_COMPILE_SYSTEM) || - strcmp (uts.release, LIBGTOP_COMPILE_RELEASE) || - strcmp (uts.machine, LIBGTOP_COMPILE_MACHINE)) { -- fprintf (stderr, "Can only run on %s %s %s\n", -+ fprintf (stderr, "This libgtop was compiled on %s %s %s\n", - LIBGTOP_COMPILE_SYSTEM, - LIBGTOP_COMPILE_RELEASE, - LIBGTOP_COMPILE_MACHINE); -- _exit (1); -+ fprintf (stderr, "If you see strange problems caused by it,\n"); -+ fprintf (stderr, "you should recompile libgtop and dependent applications\n"); - } - #endif - diff --git a/devel/libgtop2/files/patch-sysdeps::freebsd::procmem.c b/devel/libgtop2/files/patch-sysdeps::freebsd::procmem.c deleted file mode 100644 index e61274b13..000000000 --- a/devel/libgtop2/files/patch-sysdeps::freebsd::procmem.c +++ /dev/null @@ -1,30 +0,0 @@ ---- sysdeps/freebsd/procmem.c.orig Wed Mar 10 21:23:52 2004 -+++ sysdeps/freebsd/procmem.c Thu Mar 11 15:46:05 2004 -@@ -125,7 +125,7 @@ - #else - struct vm_object object; - #endif -- struct plimit plimit; -+ struct rlimit rlimit; - int count; - - glibtop_init_p (server, (1L << GLIBTOP_SYSDEPS_PROC_MEM), 0); -@@ -160,15 +160,12 @@ - - #define PROC_VMSPACE kp_proc.p_vmspace - -- if (kvm_read (server->machine.kd, -- (unsigned long) pinfo [0].PROC_VMSPACE, -- (char *) &plimit, sizeof (plimit)) != sizeof (plimit)) { -- glibtop_warn_io_r (server, "kvm_read (plimit)"); -+ if (getrlimit (RLIMIT_RSS, &rlimit) < 0) { -+ glibtop_warn_io_r (server, "getrlimit"); - return; - } - -- buf->rss_rlim = (guint64) -- (plimit.pl_rlimit [RLIMIT_RSS].rlim_cur); -+ buf->rss_rlim = (u_int64_t) (rlimit.rlim_cur); - - vms = &pinfo [0].kp_eproc.e_vm; - diff --git a/devel/libgtop2/files/patch-sysdeps::freebsd::proctime.c b/devel/libgtop2/files/patch-sysdeps::freebsd::proctime.c deleted file mode 100644 index 37b5b56df..000000000 --- a/devel/libgtop2/files/patch-sysdeps::freebsd::proctime.c +++ /dev/null @@ -1,48 +0,0 @@ ---- sysdeps/freebsd/proctime.c.orig Wed Mar 10 21:23:52 2004 -+++ sysdeps/freebsd/proctime.c Thu Mar 11 15:47:35 2004 -@@ -59,6 +59,7 @@ - - #ifndef __FreeBSD__ - -+#ifndef __FreeBSD__ - static void - calcru(p, up, sp, ip) - struct proc *p; -@@ -81,19 +82,10 @@ - tot = 1; - } - --#if (defined __FreeBSD__) && (__FreeBSD_version >= 300003) -- -- /* This was changed from a `struct timeval' into a `guint64' -- * on FreeBSD 3.0 and renamed p_rtime -> p_runtime. -- */ -- -- totusec = (u_quad_t) p->p_runtime; --#else - sec = p->p_rtime.tv_sec; - usec = p->p_rtime.tv_usec; - - totusec = (quad_t)sec * 1000000 + usec; --#endif - - if (totusec < 0) { - /* XXX no %qd in kernel. Truncate. */ -@@ -116,6 +108,7 @@ - ip->tv_usec = it % 1000000; - } - } -+#endif - - #endif /* !__FreeBSD__ */ - -@@ -133,9 +126,6 @@ - #endif - struct pstats pstats; - int count; -- -- char filename [BUFSIZ]; -- struct stat statb; - - glibtop_init_p (server, (1L << GLIBTOP_SYSDEPS_PROC_TIME), 0); - diff --git a/devel/libgtop2/files/patch-sysdeps_common_fsusage.c b/devel/libgtop2/files/patch-sysdeps_common_fsusage.c deleted file mode 100644 index b64ec4986..000000000 --- a/devel/libgtop2/files/patch-sysdeps_common_fsusage.c +++ /dev/null @@ -1,29 +0,0 @@ ---- sysdeps/common/fsusage.c.orig Thu Mar 11 15:53:36 2004 -+++ sysdeps/common/fsusage.c Thu Mar 11 15:56:37 2004 -@@ -28,7 +28,7 @@ - # endif - #endif - #ifndef UINTMAX_MAX --# define UINTMAX_MAX ((uintmax_t) -1) -+# define UINTMAX_MAX ((uint64_t) -1) - #endif - - #include <sys/types.h> -@@ -84,7 +84,7 @@ - a uintmax_t value that is all 1 bits if X is all 1 bits, even if X - is unsigned and narrower than uintmax_t. */ - #define PROPAGATE_ALL_ONES(x) \ -- ((sizeof (x) < sizeof (uintmax_t) \ -+ ((sizeof (x) < sizeof (uint64_t) \ - && (~ (x) == (sizeof (x) < sizeof (int) \ - ? - (1 << (sizeof (x) * CHAR_BIT)) \ - : 0))) \ -@@ -92,7 +92,7 @@ - - /* Extract the top bit of X as an uintmax_t value. */ - #define EXTRACT_TOP_BIT(x) ((x) \ -- & ((uintmax_t) 1 << (sizeof (x) * CHAR_BIT - 1))) -+ & ((uint64_t) 1 << (sizeof (x) * CHAR_BIT - 1))) - - /* If a value is negative, many space usage primitives store it into an - integer variable by assignment, even if the variable's type is unsigned. diff --git a/devel/libgtop2/files/patch-sysdeps_common_fsusage.h b/devel/libgtop2/files/patch-sysdeps_common_fsusage.h deleted file mode 100644 index bca23d9ae..000000000 --- a/devel/libgtop2/files/patch-sysdeps_common_fsusage.h +++ /dev/null @@ -1,25 +0,0 @@ ---- sysdeps/common/fsusage.h.orig Thu Mar 11 15:54:03 2004 -+++ sysdeps/common/fsusage.h Thu Mar 11 15:56:12 2004 -@@ -20,15 +20,17 @@ - #if !defined FSUSAGE_H_ - # define FSUSAGE_H_ - -+#include <sys/types.h> -+ - struct fs_usage - { - int fsu_blocksize; /* Size of a block. */ -- uintmax_t fsu_blocks; /* Total blocks. */ -- uintmax_t fsu_bfree; /* Free blocks available to superuser. */ -- uintmax_t fsu_bavail; /* Free blocks available to non-superuser. */ -+ uint64_t fsu_blocks; /* Total blocks. */ -+ uint64_t fsu_bfree; /* Free blocks available to superuser. */ -+ uint64_t fsu_bavail; /* Free blocks available to non-superuser. */ - int fsu_bavail_top_bit_set; /* 1 if fsu_bavail represents a value < 0. */ -- uintmax_t fsu_files; /* Total file nodes. */ -- uintmax_t fsu_ffree; /* Free file nodes. */ -+ uint64_t fsu_files; /* Total file nodes. */ -+ uint64_t fsu_ffree; /* Free file nodes. */ - }; - - # ifndef PARAMS diff --git a/devel/libgtop2/files/patch-sysdeps_common_mountlist.c b/devel/libgtop2/files/patch-sysdeps_common_mountlist.c deleted file mode 100644 index 62269380b..000000000 --- a/devel/libgtop2/files/patch-sysdeps_common_mountlist.c +++ /dev/null @@ -1,20 +0,0 @@ ---- sysdeps/common/mountlist.c.orig Mon Dec 1 13:59:28 2003 -+++ sysdeps/common/mountlist.c Mon Dec 1 16:13:15 2003 -@@ -127,7 +127,7 @@ - } - #endif /* MOUNTED_GETMNTENT1. */ - --#if defined (MOUNTED_GETMNTINFO) && !defined (__NetBSD__) && !defined (__OpenBSD__) -+#if defined (MOUNTED_GETMNTINFO) && !defined (__NetBSD__) && !defined (__OpenBSD__) && !defined(__FreeBSD__) - static char * - fstype_to_string (t) - short t; -@@ -345,7 +345,7 @@ - me = (struct mount_entry *) g_malloc (sizeof (struct mount_entry)); - me->me_devname = g_strdup (fsp->f_mntfromname); - me->me_mountdir = g_strdup (fsp->f_mntonname); --#if defined(__NetBSD__) || defined(__OpenBSD__) -+#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__) - me->me_type = g_strdup (fsp->f_fstypename); - #else - me->me_type = g_strdup (fstype_to_string (fsp->f_type)); diff --git a/devel/libgtop2/files/patch-sysdeps_freebsd_Makefile.in b/devel/libgtop2/files/patch-sysdeps_freebsd_Makefile.in deleted file mode 100644 index 16bcbb055..000000000 --- a/devel/libgtop2/files/patch-sysdeps_freebsd_Makefile.in +++ /dev/null @@ -1,20 +0,0 @@ ---- sysdeps/freebsd/Makefile.in.orig Sun Feb 15 16:13:22 2004 -+++ sysdeps/freebsd/Makefile.in Sun Feb 15 16:16:05 2004 -@@ -138,7 +138,7 @@ - - noinst_LTLIBRARIES = libgtop_sysdeps-2.0.la libgtop_sysdeps_suid-2.0.la - --libgtop_sysdeps_2_0_la_SOURCES = nosuid.c siglist.c -+libgtop_sysdeps_2_0_la_SOURCES = nosuid.c - - libgtop_sysdeps_2_0_la_LDFLAGS = $(LT_VERSION_INFO) - -@@ -172,7 +172,7 @@ - X_EXTRA_LIBS = @X_EXTRA_LIBS@ - X_PRE_LIBS = @X_PRE_LIBS@ - libgtop_sysdeps_2_0_la_LIBADD = --libgtop_sysdeps_2_0_la_OBJECTS = nosuid.lo siglist.lo -+libgtop_sysdeps_2_0_la_OBJECTS = nosuid.lo - libgtop_sysdeps_suid_2_0_la_LIBADD = - libgtop_sysdeps_suid_2_0_la_OBJECTS = open.lo close.lo siglist.lo \ - cpu.lo mem.lo swap.lo uptime.lo loadavg.lo shm_limits.lo msg_limits.lo \ diff --git a/devel/libgtop2/files/patch-sysdeps_freebsd_uptime.c b/devel/libgtop2/files/patch-sysdeps_freebsd_uptime.c deleted file mode 100644 index 7dbba8c37..000000000 --- a/devel/libgtop2/files/patch-sysdeps_freebsd_uptime.c +++ /dev/null @@ -1,13 +0,0 @@ ---- sysdeps/freebsd/uptime.c.orig Thu Mar 11 15:59:16 2004 -+++ sysdeps/freebsd/uptime.c Thu Mar 11 15:59:38 2004 -@@ -68,9 +68,8 @@ - buf->flags = _glibtop_sysdeps_uptime; - } - #else -- buf->flags = _glibtop_sysdeps_uptime; -- - glibtop_cpu cpu; -+ buf->flags = _glibtop_sysdeps_uptime; - - glibtop_init_p (server, (1L << GLIBTOP_SYSDEPS_UPTIME), 0); - |