From: David Webster Date: Fri, 19 Jan 2001 22:32:22 +0000 (+0000) Subject: chmod is not available in VisualAge X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/937afade13326376cf1d3071057d069041172daa chmod is not available in VisualAge git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index ea1417f900..721448750d 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -1057,13 +1057,15 @@ wxCopyFile (const wxString& file1, const wxString& file2) return FALSE; } +#ifndef __VISAGECPP__ +// no chmod in VA. SHould be some permission API for HPFS386 partitions however if ( chmod(file2, fbuf.st_mode) != 0 ) { wxLogSysError(_("Impossible to set permissions for the file '%s'"), file2.c_str()); return FALSE; } - +#endif return TRUE; }