Problem located in line 2911 of growisofs.c, code around:

    if (*argv[0] == '-')
    { int               fd;
      struct stat       fdst;
      unsigned int      cap2k=0;

        chdir ("/");
        if (argc < 3)   exit (EINVAL);
        fd=atoi (argv[1]);
        if (!strcmp(argv[0],"-umount"))
        {   if (fumount (fd)) exit (errno);
            exit (0);
        }
        else if ( (!strcmp(argv[0],"-reload") && (no_reload=0,1)) ||
                  (!strcmp(argv[0],"-eject") && (no_reload=-1,1)) )
        {   if (fstat (fd,&fdst) < 0)
                perror (":-( unable to fstat"), exit (1);

            if (argc > 3) cap2k = (unsigned int)strtoul
(argv[3],NULL,0);

            close (fd);

            if (media_reload (argv[2],&fdst,cap2k))
                perror (":-( unable to reload tray"), exit (1);
            exit (0);
        }
        exit(1);
    }
¿Any ideas for a patch?
This is nasty, all my backups are broken until this bug is solved...

** Attachment added: "original code"
   
https://bugs.launchpad.net/ubuntu/+source/dvd+rw-tools/+bug/615382/+attachment/1656731/+files/growisofs.c

-- 
burning fails to reload tray
https://bugs.launchpad.net/bugs/615382
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to