The "full_str_name[strlen(full_str_name)-1] = '\0'; // chop trailing \n" is there because str_name was returned with a trailing \n; that is, it looks something like "sr0\n" when it should read "sr0".
** Changed in: eject (Ubuntu) Status: Incomplete => Confirmed -- eject -X reports "error while finding CD-ROM name". https://bugs.launchpad.net/bugs/264071 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs