Lots of Unix/Unicode compile fixes, some of which

are just #ifdef 0 such as the wxExecute calls
    in gdcps.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2002-08-05 18:04:08 +00:00
parent d7a7bd6d27
commit 401eb3dec2
28 changed files with 121 additions and 48 deletions

View File

@@ -260,7 +260,7 @@ bool wxTCPServer::Create(const wxString& serverName)
{
// ensure that the file doesn't exist as otherwise calling socket() would
// fail
int rc = remove(serverName);
int rc = remove(serverName.fn_str());
if ( rc < 0 && errno != ENOENT )
{
delete addr;
@@ -321,7 +321,7 @@ wxTCPServer::~wxTCPServer()
#ifdef __UNIX_LIKE__
if ( !m_filename.empty() )
{
if ( remove(m_filename) != 0 )
if ( remove(m_filename.fn_str()) != 0 )
{
wxLogDebug(_T("Stale AF_UNIX file '%s' left."), m_filename.c_str());
}