From c0fce877c478ddbf71a1b651c789e5ea00a00144 Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:05:30 +0200 Subject: 3.4 --- shared/systemFunctions.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'shared/systemFunctions.cpp') diff --git a/shared/systemFunctions.cpp b/shared/systemFunctions.cpp index 3d6915cd..6d945d67 100644 --- a/shared/systemFunctions.cpp +++ b/shared/systemFunctions.cpp @@ -1,3 +1,9 @@ +// ************************************************************************** +// * This file is part of the FreeFileSync project. It is distributed under * +// * GNU General Public License: http://www.gnu.org/licenses/gpl.html * +// * Copyright (C) 2008-2010 ZenJu (zhnmju123 AT gmx.de) * +// ************************************************************************** +// #include "systemFunctions.h" #ifdef FFS_WIN @@ -30,7 +36,7 @@ wxString FreeFileSync::getLastErrorFormatted(int lastError) //try to get additio { //determine error code if none was specified if (lastError == 0) - lastError = errno; //don't use :: errno is a macro! + lastError = errno; //don't use "::", errno is a macro! wxString output = wxString(wxT("Linux Error Code ")) + wxString::Format(wxT("%i"), lastError); output += wxString(wxT(": ")) + wxString::FromUTF8(::strerror(lastError)); -- cgit