Committing in .

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
This commit is contained in:
Jouk Jansen
1999-11-12 10:53:52 +00:00
parent 79a8a691e9
commit e0b3e85b5a

View 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