mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 20:00:23 +02:00
glib iochannel fixes from exg.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5137 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
dd23f39f09
commit
df1d7a7814
6 changed files with 39 additions and 34 deletions
|
|
@ -304,9 +304,9 @@ static void process_exec(PROCESS_REC *rec, const char *cmd)
|
|||
|
||||
if (rec->pid != 0) {
|
||||
/* parent process */
|
||||
GIOChannel *outio = g_io_channel_unix_new(in[1]);
|
||||
GIOChannel *outio = g_io_channel_new(in[1]);
|
||||
|
||||
rec->in = g_io_channel_unix_new(out[0]);
|
||||
rec->in = g_io_channel_new(out[0]);
|
||||
rec->out = net_sendbuffer_create(outio, 0);
|
||||
|
||||
close(out[1]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue