diff options
author | Caden Haustein <code@brightlysalty.33mail.com> | 2021-07-23 08:04:29 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-23 10:04:29 +0200 |
commit | f62f4159f8c793ba24fa214b26c4dc68a530bc2e (patch) | |
tree | 60212e7ef8ee01ef0b6bf9ba877ac26c33e07f64 /lib/pure/random.nim | |
parent | 5386ae75ba91ee2fe280f1fe807676a7c9af4b13 (diff) | |
download | Nim-f62f4159f8c793ba24fa214b26c4dc68a530bc2e.tar.gz |
Replace calls to `putenv` with `setenv` (#18530)
* Replace calls to C `putenv` with C `setenv` to remove possible memory leaks * Add test of correct behaviour on invalid input * Fix style in tests/stdlib/tos.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Update tests/stdlib/tos.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Update tests/stdlib/tos.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Add comment with bug number to tests/stdlib/tos.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Fix possible msvc arch issues Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
Diffstat (limited to 'lib/pure/random.nim')
0 files changed, 0 insertions, 0 deletions