summaryrefslogtreecommitdiffstats
path: root/Source/kwsys
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'upstream-kwsys' into update-kwsysBrad King2012-12-221-0/+8
|
* Merge branch 'upstream-kwsys' into update-kwsysBrad King2012-12-1911-1701/+119
|
* Merge branch 'upstream-kwsys' into update-KWSysBrad King2012-11-091-1/+1
|
* Merge branch 'upstream-kwsys' into import-KWSys-subtreeBrad King2012-11-061-28/+38
|
* Merge branch 'upstream-kwsys' into import-KWSys-subtreeBrad King2012-10-316-133/+657
|
* KWSys: Submit dashboard builds to PublicDashboardBrad King2012-10-011-1/+1
| | | | | | CMake's test suite includes a dashboard build of KWSys directly out of the CMake source tree. Upstream KWSys switched to a dedicated dashboard but CMake's test should still submit to the PublicDashboard project.
* Merge branch 'upstream-kwsys' into import-KWSys-subtreeBrad King2012-10-016-339/+1094
|
* KWSys: Fix hashtable prime list on g++ 2.9 (#13273)Daniel R. Gomez2012-06-051-1/+1
| | | | | | | | | | | Building CMake with g++ 2.9-aix51-020209 on an AIX 5.3 system gives: cmsys/hashtable.hxx: In function `const long unsigned int *cmsys::get_stl_prime_list ()': cmsys/hashtable.hxx:399: warning: sorry: semantics of inline function static data `const long unsigned int _stl_prime_list[31]' are wrong (you'll wind up with multiple copies) cmsys/hashtable.hxx:399: warning: you can work around this by removing the initializer Give get_stl_prime_list internal linkage.
* KWSys: Remove unused environ declaration from SystemToolsBrad King2012-05-231-4/+0
| | | | | | | | | | Commit "KWSys: Fix SystemTools environment memory handling" (2012-04-26) added a _WIN32 case inside !KWSYS_CXX_HAS_ENVIRON_IN_STDLIB_H to dllimport the "environ" global. Howver, KWSYS_CXX_HAS_ENVIRON_IN_STDLIB_H is true on every Windows toolchain we support so the case is never reached. Furthermore, even if it were reached the use of dllimport is incorrect because the toolchain might not be compiling with a dynamic runtime library. Remove the unused incorrect line and supporting conditionals.
* KWSys: Remove dependencies on FundamentalTypeBrad King2012-05-024-36/+50
| | | | | | | | | The hash_fun.hxx header is configured whether FundamentalType is enabled or not and so cannot depend on it. Run the relevant platform tests whether or not FundamentalType is on and configure the result directly into hash_fun. While at it, remove the dependence of SystemInformation on FundamentalType too since it needs only information that we now always compute.
* Merge topic 'kwsys-environ-cleanup'David Cole2012-05-015-25/+310
|\ | | | | | | | | | | e48796b KWSys: Fix SystemTools environment memory handling (#13156) b10c5cb CTest: Simplify environment save/restore
| * KWSys: Fix SystemTools environment memory handling (#13156)Brad King2012-04-275-25/+310
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The SystemTools::PutEnv function tries to provide the "putenv" API without leaking memory. However, the kwsysDeletingCharVector singleton frees memory that may still be referenced by the environment table, having been placed there by putenv. If any static destruction or processing by an external tool happens after the singleton is destroyed and accesses the environment it will read invalid memory. Replace use of putenv with setenv/unsetenv when available. The latter manage internal copies of the values passed instead of referencing the original memory. When setenv/unsetenv are not available use putenv with a singleton that removes its values from the environment before freeing their memory. This requires an "unputenv" implementation. On at least some platforms it must be written in terms of "putenv" because other APIs are not available and direct modification of the "environ" global is not safe (e.g. on Windows there is interaction with "wenviron"). Fortunately either putenv("A=") or putenv("A") will remove "A" from the environment on these platforms. On other platforms fall back to direct manipulation of "environ". Also add UnPutEnv to the API and add a test for the behavior of both.
* | KWSys: Remove DateStampBrad King2012-04-254-119/+1
|/ | | | | | | | | KWSys is no longer shared in projects via a server-side directory symlink in CVS. An automated nightly date stamp commit can no longer be shared by multiple projects directly. It needs a per-project replay robot so the nightly commits end up needing N+1 robots instead of N. Remove the DateStamp feature because it is no longer useful or maintained by nightly commits.
* KWSys Nightly Date StampKWSys Robot2012-04-201-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-04-191-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-04-181-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-04-171-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-04-161-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-04-151-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-04-141-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-04-131-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-04-121-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-04-111-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-04-101-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-04-091-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-04-081-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-04-071-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-04-061-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-04-051-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-04-041-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-04-031-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-04-021-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-04-011-2/+2
|
* KWSys Nightly Date StampKWSys Robot2012-03-311-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-03-301-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-03-291-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-03-281-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-03-271-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-03-261-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-03-251-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-03-241-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-03-231-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-03-221-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-03-211-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-03-201-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-03-191-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-03-181-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-03-171-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-03-161-1/+1
|
* KWSys Nightly Date StampKWSys Robot2012-03-151-1/+1
|