diff options
author | François Andriot <albator78@libertysurf.fr> | 2019-11-03 10:14:46 +0100 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2019-11-03 11:16:29 +0100 |
commit | c3350bda33cd4e47c3d13eb7c9dcea757b2a5ec0 (patch) | |
tree | 05b16c4c316aad9b0572275b8c32868b2aef7965 /redhat/applications/k3b/k3b-1.0.3-umount.patch | |
parent | c9bb196e3bc20aef636c7478727f24aa7656b3cf (diff) | |
download | tde-packaging-c3350bda33cd4e47c3d13eb7c9dcea757b2a5ec0.tar.gz tde-packaging-c3350bda33cd4e47c3d13eb7c9dcea757b2a5ec0.zip |
RPM: remove lots of obsolete 3.5.13.x files
Diffstat (limited to 'redhat/applications/k3b/k3b-1.0.3-umount.patch')
-rw-r--r-- | redhat/applications/k3b/k3b-1.0.3-umount.patch | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/redhat/applications/k3b/k3b-1.0.3-umount.patch b/redhat/applications/k3b/k3b-1.0.3-umount.patch deleted file mode 100644 index 394aff152..000000000 --- a/redhat/applications/k3b/k3b-1.0.3-umount.patch +++ /dev/null @@ -1,48 +0,0 @@ ---- k3b-1.0.3/libk3b/core/k3bglobals.cpp.umount 2007-07-27 21:26:30.000000000 +0200 -+++ k3b-1.0.3/libk3b/core/k3bglobals.cpp 2007-07-27 21:31:26.000000000 +0200 -@@ -569,7 +569,24 @@ - return true; - } - -- // now try pmount -+#ifdef HAVE_HAL -+ if (!K3bDevice::HalConnection::instance()->unmount( dev )) -+ return true; -+#endif -+ -+ QString gumountBin = K3b::findExe( "gnome-umount" ); -+ if( !gumountBin.isEmpty() ) { -+ KProcess p; -+ p << gumountBin; -+ p << "-u"; -+ p << "-d"; -+ p << dev->blockDeviceName(); -+ p.start( KProcess::Block ); -+ if( !p.exitStatus() ) -+ return true; -+ } -+ -+// now try pmount - QString pumountBin = K3b::findExe( "pumount" ); - if( !pumountBin.isEmpty() ) { - KProcess p; -@@ -577,15 +592,11 @@ - p << "-l"; // lazy unmount - p << dev->blockDeviceName(); - p.start( KProcess::Block ); -- return !p.exitStatus(); -- } -- else { --#ifdef HAVE_HAL -- return !K3bDevice::HalConnection::instance()->unmount( dev ); --#else -- return false; --#endif -+ if( !p.exitStatus() ) -+ return true; - } -+ -+ return false; - } - - |