1. fixed test in configure for gettimeofday() argument
2. portability fixes in wxSingleInstanceChecer (use S_IRUSR, not S_IREAD) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/stat.h> // for S_I[RW]USR
|
||||
#include <signal.h> // for kill()
|
||||
#include <errno.h>
|
||||
|
||||
@@ -153,7 +153,7 @@ LockResult wxSingleInstanceCheckerImpl::CreateLockFile()
|
||||
// try to open the file
|
||||
m_fdLock = open(m_nameLock,
|
||||
O_WRONLY | O_CREAT | O_EXCL,
|
||||
S_IREAD | S_IWRITE);
|
||||
S_IRUSR | S_IWUSR);
|
||||
|
||||
if ( m_fdLock != -1 )
|
||||
{
|
||||
|
Reference in New Issue
Block a user