X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..01c226691aabe0eb4bfe86c04b4b9a59d7af367a:/src/unix/dialup.cpp diff --git a/src/unix/dialup.cpp b/src/unix/dialup.cpp index 67e6150ff9..e5246b15ee 100644 --- a/src/unix/dialup.cpp +++ b/src/unix/dialup.cpp @@ -1,11 +1,11 @@ // -*- c++ -*- //////////////////////////////////////////////////////////////// // Name: src/unix/dialup.cpp // Purpose: Network related wxWidgets classes and functions -// Author: Karsten Ballüder +// Author: Karsten Ballüder // Modified by: // Created: 03.10.99 // RCS-ID: $Id$ -// Copyright: (c) Karsten Ballüder +// Copyright: (c) Karsten Ballüder // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -645,7 +645,7 @@ wxDialUpManagerImpl::CheckIfconfig() // first time check for ifconfig location if ( m_CanUseIfconfig == -1 ) // unknown { - static const wxChar *ifconfigLocations[] = + static const wxChar *const ifconfigLocations[] = { wxT("/sbin"), // Linux, FreeBSD, Darwin wxT("/usr/sbin"), // SunOS, Solaris, AIX, HP-UX @@ -703,7 +703,7 @@ wxDialUpManagerImpl::CheckIfconfig() cmd << wxT(" >") << tmpfile << wxT('\''); /* I tried to add an option to wxExecute() to not close stdout, so we could let ifconfig write directly to the tmpfile, but - this does not work. That should be faster, as it doesn´t call + this does not work. That should be faster, as it doesn't call the shell first. I have no idea why. :-( (KB) */ if ( wxExecute(cmd,true /* sync */) == 0 ) { @@ -747,7 +747,7 @@ wxDialUpManagerImpl::CheckIfconfig() } else // could not run ifconfig correctly { - m_CanUseIfconfig = 0; // don´t try again + m_CanUseIfconfig = 0; // don't try again } (void) wxRemoveFile(tmpfile);