[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kioslave/file
From:       Darío Andrés Rodríguez <andresbajotierra () gmail ! co
Date:       2009-08-08 16:10:05
Message-ID: 1249747805.846069.17715.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1008901 by darioandres:

- Added a space between the executable name and the parameters in the system call command in unmount()
  otherwise it will simply fail with an "unknown command" error.



 M  +1 -1      file.cpp  


--- trunk/KDE/kdelibs/kioslave/file/file.cpp #1008900:1008901
@@ -1146,7 +1146,7 @@
         error( KIO::ERR_COULD_NOT_UNMOUNT, i18n("Could not find program \"umount\""));
         return;
     }
-    buffer = umountProg + QFile::encodeName(KShell::quoteArg(_point)) + " 2>" + tmpFileName;
+    buffer = umountProg + ' ' + QFile::encodeName(KShell::quoteArg(_point)) + " 2>" + tmpFileName;
     system( buffer.constData() );
 #endif /* HAVE_VOLMGT */
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic