diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-06-09 09:53:20 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-06-09 09:53:20 +0000 |
commit | 98edd113abd87b022335ff837bebcde24d001670 (patch) | |
tree | 01f00206ceb7b01a93e489444a69dea082330e93 | |
parent | 64d6b1fcf29b2b474a9f240a88abd68811d89a53 (diff) | |
download | ATCD-98edd113abd87b022335ff837bebcde24d001670.tar.gz |
ChangeLogTag: Fri Jun 9 08:16:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r-- | ace/Arg_Shifter.cpp | 4 | ||||
-rw-r--r-- | ace/config-linux-common.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/ace/Arg_Shifter.cpp b/ace/Arg_Shifter.cpp index 3c2ebd9fe08..53293ba745b 100644 --- a/ace/Arg_Shifter.cpp +++ b/ace/Arg_Shifter.cpp @@ -132,10 +132,10 @@ ACE_Arg_Shifter::cur_arg_strncasecmp (const ACE_TCHAR *flag) else { // matches, with more info to boot! - size_t remaining = ACE_OS::strspn + size_t remaining = ACE_OS::strspn (this->temp_[current_index_] + flag_length, ACE_LIB_TEXT (" ")) + flag_length; - return static_cast<int> (remaining); + return static_cast<int> (remaining); } } } diff --git a/ace/config-linux-common.h b/ace/config-linux-common.h index e88d9cf9b0d..f424cc8385d 100644 --- a/ace/config-linux-common.h +++ b/ace/config-linux-common.h @@ -395,6 +395,8 @@ #define ACE_HAS_VOIDPTR_MMAP +#define ACE_HAS_NETLINK + #if !defined (ACE_GETNAME_RETURNS_RANDOM_SIN_ZERO) // Detect if getsockname() and getpeername() returns random values in // the sockaddr_in::sin_zero field by evaluation of the kernel |