]> git.saurik.com Git - wxWidgets.git/commitdiff
chmod is not available in VisualAge
authorDavid Webster <Dave.Webster@bhmi.com>
Fri, 19 Jan 2001 22:32:22 +0000 (22:32 +0000)
committerDavid Webster <Dave.Webster@bhmi.com>
Fri, 19 Jan 2001 22:32:22 +0000 (22:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/filefn.cpp

index ea1417f900913a05e0f3e257083fa7045b7858fa..721448750dbce5dc51178799de807bbc3edada02 100644 (file)
@@ -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;
 }