]> git.saurik.com Git - wxWidgets.git/commitdiff
Committing in .
authorJouk Jansen <joukj@hrem.nano.tudelft.nl>
Fri, 12 Nov 1999 10:53:52 +0000 (10:53 +0000)
committerJouk Jansen <joukj@hrem.nano.tudelft.nl>
Fri, 12 Nov 1999 10:53:52 +0000 (10:53 +0000)
 VMS patch

 Modified Files:
  wxWindows/src/generic/helpext.cpp

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/helpext.cpp

index 51ab04b34e642d4434f74c67c98daecae5e1efda..abac8364523d8a942edaa905b5eb64763da25e2c 100644 (file)
@@ -115,12 +115,18 @@ wxExtHelpController::DisplayHelp(wxString const &relativeURL)
    {
       wxString lockfile;
       wxGetHomeDir(&lockfile);
+#ifdef __VMS__
+      lockfile << WXEXTHELP_SEPARATOR << wxT(".netscape]lock.");
+      struct stat statbuf;
+      if(stat(lockfile.fn_str(), &statbuf) == 0)
+#else
       lockfile << WXEXTHELP_SEPARATOR << wxT(".netscape/lock");
       struct stat statbuf;
       if(lstat(lockfile.fn_str(), &statbuf) == 0)
       // cannot use wxFileExists, because it's a link pointing to a
       // non-existing location      if(wxFileExists(lockfile))
-      {
+#endif
+       {
          long success;
          command << m_BrowserName << wxT(" -remote openURL(")
                  << wxT("file://") << m_MapFile