When I tried to "/exec uname -a" irssi returns a blank line and if I tried to "exec -o uname -a" I got an error message that there are to few arguments to send this text to server (again a blank line) Reproducible: Always Steps to Reproduce: gentoo with any amd64 2.6.7-dev kernel start irssi exec a cmd Actual Results: I got a blank line instead of the normal cmd output Expected Results: show me the cmd output
Please reopen with the following information: - output of emerge --info - version of irssi you're using - if applicable, scripts you have loaded The /exec command works fine for me, with and without -o
Please also test if uname -a works in a normal console and if /exec in irssi doesn't work with any other command.
Created attachment 35857 [details] emerge --info output
Created attachment 35858 [details] output for the uname (example) cmd
Created attachment 35859 [details] irssi version output
currently I've no scripts loaded yet
This is an amd64 issue and has already been filed upstream. See http://bugs.irssi.org/?do=details&id=85 As I currently don't have access to an amd64 system, I can't test and fix this. Could someone from our amd64 porting team have a look at this one, please.
could you please add the patch from the irssi-bugs page to the amd64 ebuild ? --- src/fe-common/core/fe-exec.c 11 Jul 2004 16:54:11 -0000 1.23 +++ src/fe-common/core/fe-exec.c 14 Jul 2004 12:04:47 -0000 1.24 @@ -349,7 +349,7 @@ static void sig_exec_input_reader(PROCESS_REC *rec) { char tmpbuf[512], *str; - unsigned int recvlen; + gsize recvlen; int err, ret; g_return_if_fail(rec != NULL);
Commited to CVS. Thanks for reporting and reminding me that there's an upstream patch available.