Hide Forgot
Description of problem: POSIX requires that any utility that takes operands must accept and ignore -- as the first argument, to allow for alternate implementations that support options (unless explicitly documented otherwise, such as 'echo'). dirname is not explicitly documented otherwise; therefore, 'dirname a' and 'dirname -- a' are required by POSIX to behave identically. Version-Release number of selected component (if applicable): busybox-1.15.1-7.fc14.x86_64 How reproducible: 100% Steps to Reproduce: 1. busybox dirname -- a 2. echo $? Actual results: BusyBox v1.15.1 (2010-05-05 10:58:54 UTC) multi-call binary Usage: dirname FILENAME Strip non-directory suffix from FILENAME 1 Expected results: . 0 Additional info: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8420
This is fixed in upstream. I guess it's time to release 1.19.0...
1.19.3 is in rawhide now: http://koji.fedoraproject.org/koji/buildinfo?buildID=271674 and it addresses this BZ