FS#27568 - [vifm] segfaults at background copy
Attached to Project:
Community Packages
Opened by Zsolt Udvari (uzsolt) - Wednesday, 14 December 2011, 07:55 GMT
Last edited by Alexander F. Rødseth (xyproto) - Thursday, 22 December 2011, 00:09 GMT
Opened by Zsolt Udvari (uzsolt) - Wednesday, 14 December 2011, 07:55 GMT
Last edited by Alexander F. Rødseth (xyproto) - Thursday, 22 December 2011, 00:09 GMT
|
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Thursday, 22 December 2011, 00:09 GMT
Reason for closing: Fixed
Thursday, 22 December 2011, 00:09 GMT
Reason for closing: Fixed
Please add if(p->fd >= 0) at the beginning of line 129 in
background.c file and recompile vifm to test it. Line 129 should look
like
if(p->fd >= 0) FD_SET(p->fd, &ready);
I've rebuild with a sed-patch:
sed -i "129s@^@if(p->fd>=0)@" src/background.c
It seems it works well.