Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
This relates to the patch that was added for bug #62612, which adds MacOSX style of ejecting/loading the cd-rom tray through the use of an option -T. I think I found three problems with this patch. First, the "exit(0);" in the section that handles the -T option is misplaced. Allowing options that appear after the -T option to be processed. Second, the EjectCdrom() is not checked for errors. I found this by mounting the device and running `eject -T -v`, which lead to me seeing the third problem. Third, the section that handles the -T option is misplaced. It should occur after the device(s) is/are unmounted, otherwise it will not eject.
Created an attachment (id=68792) [details] eject-2.0.13-toggle-fix.patch Fixes problems with earlier patch.
*** This bug has been marked as a duplicate of 122256 ***