summaryrefslogtreecommitdiffstats
path: root/devel/anjuta/files/patch-libanjuta_anjuta-launcher.c
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-10-25 11:37:29 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-10-25 11:37:29 +0800
commite934b106497f17545e236bb9644bed935cd118ad (patch)
tree29839e0cbcfadbf35eac8fc26b9ad2afe1301370 /devel/anjuta/files/patch-libanjuta_anjuta-launcher.c
parent14c9f603eb5d9868d374e46ac865925da109a838 (diff)
downloadmarcuscom-ports-e934b106497f17545e236bb9644bed935cd118ad.tar
marcuscom-ports-e934b106497f17545e236bb9644bed935cd118ad.tar.gz
marcuscom-ports-e934b106497f17545e236bb9644bed935cd118ad.tar.bz2
marcuscom-ports-e934b106497f17545e236bb9644bed935cd118ad.tar.lz
marcuscom-ports-e934b106497f17545e236bb9644bed935cd118ad.tar.xz
marcuscom-ports-e934b106497f17545e236bb9644bed935cd118ad.tar.zst
marcuscom-ports-e934b106497f17545e236bb9644bed935cd118ad.zip
Remove these now that they have been committed to the FreeBSD ports tree.
Next stop GNOME 2.21. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9875 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/anjuta/files/patch-libanjuta_anjuta-launcher.c')
-rw-r--r--devel/anjuta/files/patch-libanjuta_anjuta-launcher.c80
1 files changed, 0 insertions, 80 deletions
diff --git a/devel/anjuta/files/patch-libanjuta_anjuta-launcher.c b/devel/anjuta/files/patch-libanjuta_anjuta-launcher.c
deleted file mode 100644
index 73987d782..000000000
--- a/devel/anjuta/files/patch-libanjuta_anjuta-launcher.c
+++ /dev/null
@@ -1,80 +0,0 @@
---- libanjuta/anjuta-launcher.c.orig Mon Jun 11 13:22:08 2007
-+++ libanjuta/anjuta-launcher.c Sun Jul 8 03:39:07 2007
-@@ -37,7 +37,7 @@
- #include <signal.h>
-
- #if !defined(__sun) && !defined(__NetBSD__)
--# ifndef FREEBSD
-+# if !defined(__FreeBSD__)
- # include <pty.h>
- # else
- # include <libutil.h>
-@@ -713,7 +713,8 @@ anjuta_launcher_scan_output (GIOChannel
- GError *err = NULL;
- do
- {
-- g_io_channel_read_chars (channel, buffer, FILE_BUFFER_SIZE-1, &n, &err);
-+ GIOStatus status;
-+ status = g_io_channel_read_chars (channel, buffer, FILE_BUFFER_SIZE-1, &n, &err);
- if (n > 0 && !err) /* There is output */
- {
- gchar *utf8_chars;
-@@ -733,6 +734,13 @@ anjuta_launcher_scan_output (GIOChannel
- anjuta_launcher_synchronize (launcher);
- ret = FALSE;
- }
-+ else if (status == G_IO_STATUS_EOF)
-+ {
-+ launcher->priv->stdout_is_done = TRUE;
-+ anjuta_launcher_synchronize (launcher);
-+ ret = FALSE;
-+ }
-+
- /* Read next chars if buffer was too small
- * (the maximum length of one character is 6 bytes) */
- } while (!err && (n > FILE_BUFFER_SIZE - 7));
-@@ -762,7 +770,8 @@ anjuta_launcher_scan_error (GIOChannel *
- GError *err = NULL;
- do
- {
-- g_io_channel_read_chars (channel, buffer, FILE_BUFFER_SIZE-1, &n, &err);
-+ GIOStatus status;
-+ status = g_io_channel_read_chars (channel, buffer, FILE_BUFFER_SIZE-1, &n, &err);
- if (n > 0 && !err) /* There is stderr output */
- {
- gchar *utf8_chars;
-@@ -782,6 +791,13 @@ anjuta_launcher_scan_error (GIOChannel *
- anjuta_launcher_synchronize (launcher);
- ret = FALSE;
- }
-+ else if (status == G_IO_STATUS_EOF)
-+ {
-+ launcher->priv->stderr_is_done = TRUE;
-+ anjuta_launcher_synchronize (launcher);
-+ ret = FALSE;
-+ }
-+
- /* Read next chars if buffer was too small
- * (the maximum length of one character is 6 bytes) */
- } while (!err && (n > FILE_BUFFER_SIZE - 7));
-@@ -811,7 +827,8 @@ anjuta_launcher_scan_pty (GIOChannel *ch
- GError *err = NULL;
- do
- {
-- g_io_channel_read_chars (channel, buffer, FILE_BUFFER_SIZE-1, &n, &err);
-+ GIOStatus status;
-+ status = g_io_channel_read_chars (channel, buffer, FILE_BUFFER_SIZE-1, &n, &err);
- if (n > 0 && !err) /* There is stderr output */
- {
- gchar *utf8_chars;
-@@ -833,6 +850,10 @@ anjuta_launcher_scan_pty (GIOChannel *ch
- else if (err && errno != EAGAIN && errno != EINTR)
- {
- g_warning (_("launcher.c: Error while reading child pty\n"));
-+ ret = FALSE;
-+ }
-+ else if (status == G_IO_STATUS_EOF)
-+ {
- ret = FALSE;
- }
- /* Read next chars if buffer was too small