/[graveman]/graveman/current/src/matos.c
ViewVC logotype

Diff of /graveman/current/src/matos.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.38 by scresto, Sun May 22 17:46:17 2005 UTC revision 1.39 by scresto, Sat May 28 01:30:50 2005 UTC
# Line 620  gboolean callback_waiting_for_user(gpoin Line 620  gboolean callback_waiting_for_user(gpoin
620      gdk_flush ();      gdk_flush ();
621      *Linitdisp = FALSE;      *Linitdisp = FALSE;
622    }    }
623    matos_umount_device(Lg, NULL);    matos_umount_device(Ldrive, NULL);
624        
625   _DEB("le premier avant le dvd [%d]", Lmedialu);   _DEB("le premier avant le dvd [%d]", Lmedialu);
626    Lmedialu += get_dvdinfo(Lg, Ldrive, NULL);    Lmedialu += get_dvdinfo(Lg, Ldrive, NULL);
# Line 799  _DEB("comp de [%s] et [%s]", Lcurdev,Lcu Line 799  _DEB("comp de [%s] et [%s]", Lcurdev,Lcu
799    }    }
800    
801    if (Lfind && Lcurdev) {    if (Lfind && Lcurdev) {
802      g_snprintf(Lcommand, sizeof(Lcommand)-1, "/sbin/umount %s", Lcurdev);      g_snprintf(Lcommand, sizeof(Lcommand)-1, "/bin/umount %s", Lcurdev);
803    
804      _DEB("try to umount [%s]", Lcommand);      _DEB("try to umount [%s]", Lcommand);
805    
# Line 818  gboolean matos_maj_drive_info(Tdriveinfo Line 818  gboolean matos_maj_drive_info(Tdriveinfo
818    
819    cdrecord_maj_drive_info(Adrive, Adev, Aerror);    cdrecord_maj_drive_info(Adrive, Adev, Aerror);
820    
821    /* use /proc/sys/dev/cdrom/info with linux to find DVD capability */    /* use /proc/sys/dev/cdrom/info with linux to detect DVD capability */
822    proc_maj_drive_info(Adrive, Aerror);    proc_maj_drive_info(Adrive, Aerror);
823    
824    return TRUE;    return TRUE;

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.39

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26