diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-03-24 13:30:51 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-03-24 13:30:51 +0800 |
commit | a6888a2a213b49d671bf658e58428d9a1d342f66 (patch) | |
tree | 73b4b8892d2a32df0f24d16b19046bc481baf971 /devel/anjuta/files/patch-libanjuta_anjuta-launcher.c | |
parent | a740241125f843ca61310f787f0eea0d5b40784f (diff) | |
download | marcuscom-ports-a6888a2a213b49d671bf658e58428d9a1d342f66.tar marcuscom-ports-a6888a2a213b49d671bf658e58428d9a1d342f66.tar.gz marcuscom-ports-a6888a2a213b49d671bf658e58428d9a1d342f66.tar.bz2 marcuscom-ports-a6888a2a213b49d671bf658e58428d9a1d342f66.tar.lz marcuscom-ports-a6888a2a213b49d671bf658e58428d9a1d342f66.tar.xz marcuscom-ports-a6888a2a213b49d671bf658e58428d9a1d342f66.tar.zst marcuscom-ports-a6888a2a213b49d671bf658e58428d9a1d342f66.zip |
Remove these ports now that they have been merged into the FreeBSD ports tree.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10818 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.c | 80 |
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 1c7679ab2..000000000 --- a/devel/anjuta/files/patch-libanjuta_anjuta-launcher.c +++ /dev/null @@ -1,80 +0,0 @@ ---- libanjuta/anjuta-launcher.c.orig 2008-02-15 18:32:29.000000000 -0500 -+++ libanjuta/anjuta-launcher.c 2008-02-25 22:45:03.000000000 -0500 -@@ -37,7 +37,7 @@ - #include <signal.h> - - #if !defined(__sun) && !defined(__NetBSD__) --# ifndef FREEBSD -+# if !defined(__FreeBSD__) - # include <pty.h> - # else - # include <libutil.h> -@@ -749,7 +749,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) /* There is output */ - { - gchar *utf8_chars; -@@ -776,6 +777,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)); -@@ -805,7 +813,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) /* There is stderr output */ - { - gchar *utf8_chars; -@@ -833,6 +842,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)); -@@ -862,7 +878,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) /* There is stderr output */ - { - gchar *utf8_chars; -@@ -893,6 +910,10 @@ anjuta_launcher_scan_pty (GIOChannel *ch - g_warning ("pty: %s", err->message); - ret = FALSE; - } -+ else if (status == G_IO_STATUS_EOF) -+ { -+ 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)); |