[Bug 2815] New: sort dont create file with option -o

bugzilla at busybox.net bugzilla at busybox.net
Mon Nov 15 02:59:25 UTC 2010


https://bugs.busybox.net/show_bug.cgi?id=2815

           Summary: sort dont create file with option -o
           Product: Busybox
           Version: 1.17.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: Other
        AssignedTo: unassigned at busybox.net
        ReportedBy: washingtonfilho at ig.com.br
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


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);

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list