[vlmc-devel] WorkspaceWorker: Fix errno usage.
Hugo Beauzée-Luyssen
git at videolan.org
Mon Apr 16 10:43:23 CEST 2012
vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Sat Apr 14 15:52:06 2012 +0200| [0ee45df59a17bb6db6d970d52542d65314a91101] | committer: Hugo Beauzée-Luyssen
WorkspaceWorker: Fix errno usage.
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=0ee45df59a17bb6db6d970d52542d65314a91101
---
src/Project/WorkspaceWorker.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/Project/WorkspaceWorker.cpp b/src/Project/WorkspaceWorker.cpp
index 6eba89b..ea876a5 100644
--- a/src/Project/WorkspaceWorker.cpp
+++ b/src/Project/WorkspaceWorker.cpp
@@ -46,6 +46,7 @@ WorkspaceWorker::run()
bool hardLinkOk = false;
#ifdef Q_OS_UNIX
+ errno = 0;
if ( link( m_media->fileInfo()->absoluteFilePath().toUtf8().constData(),
m_dest.toUtf8().constData() ) < 0 )
{
More information about the Vlmc-devel
mailing list