- May 07, 2014
-
-
Ben Boeckel authored
Change-Id: Ib725299593d9fce88c73fcee2d640def5759b708
-
Ben Boeckel authored
It's not needed and just clutters the code. Change-Id: I9e69621be79b8bfebe6790edae4cdb86e8389733
-
- May 05, 2014
-
-
Brad King authored
Include execinfo.h, cxxabi.h, and dlfcn.h under the same conditions under which we use the APIs from them. Move their inclusion out of OS-specific blocks. Change-Id: I7723e530e2351d259adddd8e570036a562bade05
-
- Apr 14, 2014
-
-
Brad King authored
Declare a private _Hashtable_node<_Val>::operator= without implementation to ensure no code tries to assign nodes. The hash_map uses "pair<const _Key,_Tp>" as the value type so the const key cannot be assigned. Change-Id: If772e1588c9504df450c18eb0d36dc024db9f2da
-
- Apr 07, 2014
-
-
Change-Id: Ia74f41c2bb0dc7b164c7a2920acdedcfe17a2899
-
- Apr 05, 2014
-
-
Rolf Eike Beer authored
Change-Id: I5261ad19e3702e646576d70395625ac47adc942e
-
- Apr 02, 2014
-
-
Brad King authored
This was caught by the HP compiler warning: warning #4285-D: operator= does not have a check for the source and destination addresses being non-identical Change-Id: I074a33410402b2b872dee03df3d4006ffe32f111
-
- Apr 01, 2014
-
-
Jiri Malak authored
Enable to add extra single quote used by some Watcom tools. Change-Id: I257bafd1c09c02642e0d793caf7461454bc4b04a
-
- Mar 19, 2014
-
-
Drop the case body when neither CPU_HP_INTEL_EM_1_0 or CPU_IA64_ARCHREV_0 is defined. Change-Id: I6e3ab80c74524cb1f0e043f8f7147004142436e1
-
Add missing break statements in the QueryHPUXProcessor switch. Change-Id: I09ada6e51ca5819fedaf29545caadcb3ce5c24ca
-
- Mar 12, 2014
-
-
Change-Id: I2323e5b6ec35948f6f3ba8967369969e475f4e02
-
- Mar 11, 2014
-
-
Brad King authored
KWSys does not depend on the Apple Clang compiler id being "Clang" so set the policy to NEW explicitly to avoid the warning and get the NEW behavior. Change-Id: I884a82876ced444753a28eec1a2a26cc8c07cdef
-
- Mar 06, 2014
-
-
Brad King authored
IBM XL complains: 1500-010: (W) WARNING in test6: Infinite loop. Program may not stop. Tell it to ignore this because the test does it intentionally. Change-Id: Ic99ed35067e8ddecea289fffe20d5e119029fa0f
-
- Mar 03, 2014
-
-
The Haiku API for this was recently changed, to allow more than 8 CPU cores. Change-Id: Ia5e0d733cdfabaeffdb7707045f6635734ddac2e
-
- Feb 28, 2014
-
-
Use ISO C header <wctype.h> for towupper instead of relying on the MS-specific location of towupper in <ctype.h> Change-Id: If779418eb6752e7b059bcb9e823f64914b4fa101
-
- Feb 12, 2014
-
-
Clinton Stimpson authored
Change-Id: I4d06782730fca0fd68fb62c418b4e2d95f550625
-
- Jan 24, 2014
-
-
Hide this implementation detail by default. Change-Id: I436d76681c88459de470d5eec019acfc354d427e
-
- Jan 06, 2014
-
-
Clinton Stimpson authored
This fixes compile errors on older compilers where basic_filebuf is not available. Change-Id: If220925774b5d31b128065603cf365a7a5ec5f42
-
- Jan 04, 2014
-
-
Clinton Stimpson authored
Compile flags -DUNICODE and -D_UNICODE are added. This means that using ANSI or wide apis must be explicit. Change-Id: Ia0fa72f563e1ee8591f6ca3c02b060abcb801a7c
-
- Jan 02, 2014
-
-
Using PuTTY with the terminal type set to putty-256color causes CMake not to output any colors during build. Changing it to one of the 'supported' terminal types fixes the problem. This patch adds the putty-256color terminal type to the list of supported terminals. Change-Id: I0f261017f2a47348306a5c8da3e2c0e2f906c161
-
- Dec 21, 2013
-
-
Clinton Stimpson authored
Also adding a test for this and future improvements to the module. Change-Id: I54c33129291c9df2fee4bf5dd52360251f6be540
-
- Dec 19, 2013
-
-
Clinton Stimpson authored
Change-Id: Ifda279df9a68872cf16e580274dff534f6cfd855
-
Change-Id: I96564a95f1ee6111edc58bdd85a933ace7502a73
-
SystemTools still had uses of kwsys_ios::ofstream that need changed to kwsys::ofstream to support utf-8 encoding of filenames. Change-Id: I308e9cc055295881405b1b079d0653dab37b8d3d
-
- Dec 18, 2013
-
-
Some older versions of HP-UX do not define CPU_IA64_ARCHREV_0, but CPU_HP_INTEL_EM_1_0 resolves to the same constant (in /usr/include/sys/unistd.h). Change-Id: I20f9a161ef62277069a5ba0d339ca09d972a9bae
-
- Dec 03, 2013
-
-
Rolf Eike Beer authored
If a group of processes needs to be terminated recursively the entry in /proc doesn't need to be kept open during the recursion as all the interesting information was already read from it. Especially in case of deeper recursion this lowers the memory pressure. Change-Id: I95b969f42c8dd68b57cdaf8fc1b705f358f1dc58
-
- Dec 02, 2013
-
-
Rolf Eike Beer authored
Change-Id: I9a6ce9af30dae548e860636ad64164200ba91f49
-
- Nov 21, 2013
-
-
Brad King authored
The WindowsFileExists function was originally created to avoid duplication by the Cygwin and Windows implementations of FileExists. Now that we use the ANSI API on Cygwin and the Wide API on Windows, one of the two overloads is always left unused. Drop the helper functions and inline the implementations at their respective (single) call sites. Change-Id: I4d25f98b8b11f0fdce2f360f5f425e0b159b22e5
-
- Nov 20, 2013
-
-
Brad King authored
The KWSys "String.h" is not needed by "Encoding.hxx" and may not be available in projects that do not enable the KWSys String API. Change-Id: I50ff9a89fc3d43b59f6958e09423862bf104d904
-
- Nov 19, 2013
-
-
A single quote in an inline assembly comment is confusing gcc: .../SystemInformation.cxx:256:24: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix] ; optimiser doesn't know about <<CPUID>>, and so doesn't expect ^ Avoid it by changing "doesn't" to "does not". Change-Id: Ic4caaeaabfdb99aa486ec09b23d670ec1b125069
-
Create a KWSYS_ENCODING_DEFAULT_CODEPAGE setting that can be used by parent projects to configure the default code page. Default to CP_ACP (ANSI Code Page) so that our narrow->wide conversions used to access wide Windows APIs are equivalent to direct use of the narrow Windows APIs. Change-Id: I02ce362dbdc6127f42b7af7e620e46b7829cbc64
-
- Oct 31, 2013
-
-
Clinton Stimpson authored
Change-Id: Icb357202c5591819b9f44b4e4f1376e7c4f7b7b3
-
Clinton Stimpson authored
Uses wide APIs on Windows for fstream. Change-Id: I159da88196027665b520895a0c5aa881f7e4b125
-
Clinton Stimpson authored
The 8 bit encoding is UTF-8. Change-Id: If54262c09777effcbffac30481405e56c6605dd7
-
- Oct 15, 2013
-
-
David Cole authored
Cleans up a smidge of global namespace pollution. Allows using this header file in the same compilation unit with other header files that may also contain a mode_t typedef, possibly with a different underlying type. Actually encountered in the wild when trying to compile a class that uses both log4cpp and VTK. Change-Id: Iba5592778fc21d66946026847537d914e56f332b
-
This was probably broken for a long while, but the problem was not apparent because the check for execinfo.h would fail by default because -I/usr/local/include was not being passed to the compiler when making the checks for the header's existence. Now that very recent FreeBSD versions (ie. 10-CURRENT) have NetBSD's libexecinfo in base (and it is thus installed into /usr), the backtrace-related checks would pass, but the required headers were not being included in SystemInformation.cxx. Change-Id: I3b91ed7ac0e6878035aee202b3336c536cc6d2ff
-
- Oct 08, 2013
-
-
No need to use a different path from the BeOS one, which still works. Change-Id: I7fe3e53ac6aaa7971eb22650935e80fa0bd41daa
-
Haiku does not define __BEOS__ anymore, so there is no need to guard these BeOS specific workaround for Haiku. The workarounds themselves are not needed for Haiku as it has much better POSIX compatibility than BeOS did. Change-Id: I91a1598df764abe0febc9c3828e8bfd47e089cee
-
- Aug 14, 2013
-
-
Rolf Eike Beer authored
Fixes the following truncation warnings from g++ 4.8: kwsys/SystemInformation.cxx: In member function 'int cmsys::SystemInformationImplementation::GetFullyQualifiedDomainName(std::string&)': kwsys/SystemInformation.cxx:1738:31: warning: conversion to 'socklen_t {aka unsigned int}' from 'long unsigned int' may alter its value [-Wconversion] = (fam==AF_INET?sizeof(struct sockaddr_in):sizeof(struct sockaddr_in6)); ^ kwsys/SystemInformation.cxx:1738:58: warning: conversion to 'socklen_t {aka unsigned int}' from 'long unsigned int' may alter its value [-Wconversion] = (fam==AF_INET?sizeof(struct sockaddr_in):sizeof(struct sockaddr_in6)); ^ kwsys/SystemInformation.cxx: In member function 'bool cmsys::SystemInformationImplementation::QueryLinuxMemory()': kwsys/SystemInformation.cxx:3839:33: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] char *r=fgets(buffer, sizeof(buffer), fd); // Skip "total: used:..." ^ Change-Id: I1016a7e31325ee550322dde7a21ffc92d6ca49dc
-
- Aug 06, 2013
-
-
Change-Id: Ifc21dc8ab53867abae9758e6408fef8eac6e4a33
-