Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57785 - irssi returns no output for the exec cmd
Summary: irssi returns no output for the exec cmd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Packages in net-irc
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-20 15:43 UTC by André-Sebastian Liebe
Modified: 2004-07-23 15:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info output (emerge.info,1.41 KB, text/plain)
2004-07-21 02:02 UTC, André-Sebastian Liebe
Details
output for the uname (example) cmd (uname,110 bytes, text/plain)
2004-07-21 02:03 UTC, André-Sebastian Liebe
Details
irssi version output (irssi.version,38 bytes, text/plain)
2004-07-21 02:03 UTC, André-Sebastian Liebe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description André-Sebastian Liebe 2004-07-20 15:43:38 UTC
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
Comment 1 Sven Wegener gentoo-dev 2004-07-20 15:52:15 UTC
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
Comment 2 Sven Wegener gentoo-dev 2004-07-20 15:58:50 UTC
Please also test if uname -a works in a normal console and if /exec in irssi
doesn't work with any other command.
Comment 3 André-Sebastian Liebe 2004-07-21 02:02:44 UTC
Created attachment 35857 [details]
emerge --info output
Comment 4 André-Sebastian Liebe 2004-07-21 02:03:28 UTC
Created attachment 35858 [details]
output for the uname (example) cmd
Comment 5 André-Sebastian Liebe 2004-07-21 02:03:51 UTC
Created attachment 35859 [details]
irssi version output
Comment 6 André-Sebastian Liebe 2004-07-21 02:05:12 UTC
currently I've no scripts loaded yet
Comment 7 Sven Wegener gentoo-dev 2004-07-21 17:17:21 UTC
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.
Comment 8 André-Sebastian Liebe 2004-07-23 14:55:56 UTC
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); 
Comment 9 Sven Wegener gentoo-dev 2004-07-23 15:40:22 UTC
Commited to CVS. Thanks for reporting and reminding me that there's an upstream
patch available.