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
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jaroslav Lichtblau (Dragonlord)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Thursday, 22 December 2011, 00:09 GMT
Reason for closing:  Fixed
Comment by Zsolt Udvari (uzsolt) - Wednesday, 14 December 2011, 19:14 GMT
It seems it's 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.

Loading...