Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'upstream-KWSys' into update-kwsys | Brad King | 2016-03-31 | 1 | -2/+3 |
| | | | | | * upstream-KWSys: KWSys 2016-03-31 (3392da1d) | ||||
* | Merge branch 'upstream-KWSys' into update-kwsys | Brad King | 2016-03-08 | 1 | -2/+3 |
| | | | | | * upstream-KWSys: KWSys 2016-03-08 (6b60c184) | ||||
* | Merge branch 'upstream-KWSys' into update-kwsys | Brad King | 2016-02-22 | 1 | -0/+107 |
| | | | | | * upstream-KWSys: KWSys 2016-02-22 (4847aedd) | ||||
* | Merge branch 'upstream-KWSys' into update-kwsys | Brad King | 2016-01-11 | 1 | -15/+6 |
| | | | | | * upstream-KWSys: KWSys 2016-01-11 (e8bf616e) | ||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2015-12-04 | 1 | -17/+9 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2015-12-01 | 1 | -30/+23 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2015-10-08 | 1 | -8/+29 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2015-09-29 | 1 | -1/+2 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2015-09-26 | 1 | -64/+71 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2015-09-14 | 1 | -17/+51 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2015-09-02 | 1 | -416/+412 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2015-08-31 | 1 | -9/+62 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2015-08-03 | 1 | -2/+16 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2015-07-15 | 1 | -15/+40 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2015-06-16 | 1 | -1/+1 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2015-05-28 | 1 | -14/+30 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2015-04-13 | 1 | -5/+12 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2015-03-02 | 1 | -0/+4 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2015-02-26 | 1 | -6/+52 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2015-01-21 | 1 | -1/+5 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2015-01-10 | 1 | -2/+9 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2014-10-31 | 1 | -71/+162 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2014-09-26 | 1 | -0/+10 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2014-09-09 | 1 | -2/+15 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2014-08-11 | 1 | -105/+0 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2014-08-04 | 1 | -145/+223 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2014-07-07 | 1 | -38/+171 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2014-05-19 | 1 | -2/+5 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2014-05-13 | 1 | -107/+107 |
| | |||||
* | Remove some c_str() calls. | Stephen Kelly | 2014-03-11 | 1 | -2/+2 |
| | | | | | | Use the clang RemoveCStrCalls tool to automatically migrate the code. This was only run on linux, so does not have any positive or negative effect on other platforms. | ||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2014-03-04 | 1 | -0/+3 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2013-12-19 | 1 | -2/+2 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2013-11-25 | 1 | -95/+194 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2013-10-08 | 1 | -5/+0 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2013-08-07 | 1 | -106/+103 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2013-07-11 | 1 | -8/+4 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2013-06-26 | 1 | -1/+1 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2013-06-04 | 1 | -1/+1 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2013-06-03 | 1 | -10/+46 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2013-05-29 | 1 | -4/+13 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2013-05-07 | 1 | -1/+1 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2013-04-26 | 1 | -2/+2 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2013-02-07 | 1 | -18/+10 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2013-02-01 | 1 | -2/+2 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2013-01-08 | 1 | -15/+4 |
| | |||||
* | Merge branch 'upstream-kwsys' into update-kwsys | Brad King | 2012-12-19 | 1 | -1/+7 |
| | |||||
* | Merge branch 'upstream-kwsys' into import-KWSys-subtree | Brad King | 2012-10-01 | 1 | -1/+1 |
| | |||||
* | KWSys: Remove unused environ declaration from SystemTools | Brad King | 2012-05-23 | 1 | -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: Fix SystemTools environment memory handling (#13156) | Brad King | 2012-04-27 | 1 | -20/+216 |
| | | | | | | | | | | | | | | | | | | | | | | | 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: Correctly handle empty environment variables | Brad King | 2011-12-15 | 1 | -1/+1 |
| | | | | | | | Fix a crash which occurs when SystemTools::GetPath attempts to process an empty environment variable. Author: Vladimir Panteleev <vladimir@thecybershadow.net> |