summaryrefslogtreecommitdiff
path: root/sysutils/libgtop/patches/patch-ba
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/libgtop/patches/patch-ba')
-rw-r--r--sysutils/libgtop/patches/patch-ba34
1 files changed, 0 insertions, 34 deletions
diff --git a/sysutils/libgtop/patches/patch-ba b/sysutils/libgtop/patches/patch-ba
deleted file mode 100644
index c8a6499f258..00000000000
--- a/sysutils/libgtop/patches/patch-ba
+++ /dev/null
@@ -1,34 +0,0 @@
-$NetBSD: patch-ba,v 1.1 2007/09/20 21:12:13 wiz Exp $
-
-From FreeBSD's GNOME development repository.
-
---- lib/read.c.orig 2006-04-10 10:41:46.000000000 +0200
-+++ lib/read.c
-@@ -22,6 +22,7 @@
- */
-
- #include <config.h>
-+#include <errno.h>
- #include <glibtop/read.h>
- #include <glibtop/error.h>
- #include <glib/gi18n-lib.h>
-@@ -56,14 +57,18 @@ glibtop_read_l (glibtop *server, size_t
- fprintf (stderr, "LIBRARY: really reading %d bytes.\n", (int)size);
- #endif
-
-+retry:
- if (server->socket) {
- do_read (server->socket, buf, size);
- } else {
-- if(read (server->input [0], buf, size) < 0)
-+ if(read (server->input [0], buf, size) < 0) {
-+ if (errno == EINTR)
-+ goto retry;
- glibtop_error_io_r (
- server,
- ngettext ("read %d byte",
- "read %d bytes", size),
- (int)size);
-+ }
- }
- }