Bug 2815

Summary: sort dont create file with option -o
Product: Busybox Reporter: Woshman <washingtonfilho>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: trivial CC: busybox-cvs
Priority: P5    
Version: 1.17.x   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:

Description Woshman 2010-11-15 02:59:25 UTC
to fix this:

sort.c -> line 415

change: xmove_fd(xopen3(str_o, O_WRONLY, 0666), STDOUT_FILENO);
to:     xmove_fd(xopen3(str_o, O_WRONLY|O_CREAT|O_TRUNC, 0666), STDOUT_FILENO);
Comment 1 Denys Vlasenko 2010-11-16 03:43:30 UTC
There is a hotfix for it:

http://busybox.net/downloads/fixes-1.17.3/busybox-1.17.3-sort.patch