[Bug 4087] New: Swapoff applet broken in BusyBox 1.19.0

bugzilla at busybox.net bugzilla at busybox.net
Wed Aug 24 15:23:34 UTC 2011


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

           Summary: Swapoff applet broken in BusyBox 1.19.0
           Product: Busybox
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Other
        AssignedTo: unassigned at busybox.net
        ReportedBy: tj.groenen at gmail.com
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


The swapoff applet seems to be broken in BusyBox 1.19.0. I suppose this is
caused by some change in libbb/getopt32.c, since this is the place where the
error is coming from.

Steps to reproduce:
1) download & extract BusyBox 1.19.0 source
2) make defconfig && make
3) ./busybox swapoff

Outcome:
[root at i7-820qm busybox-1.19.0]# ./busybox swapoff
swapoff: NO OPT p!

Additional information:
The same happens when arguments are passed to swapoff
[root at i7-820qm busybox-1.19.0]# ./busybox swapoff -a
swapoff: NO OPT p!
[root at i7-820qm busybox-1.19.0]# ./busybox swapoff /dev/sda4
swapoff: NO OPT p!

This problem occurs on both my laptop (output above) and an ARM device (Nokia
N900).

P.s. there's no "1.19.x" in the "Version" listbox of BusyBox' bugtracker yet,
so I'll set the version to "unspecified".

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