summary refs log tree commit diff stats
path: root/lib/pure/random.nim
diff options
context:
space:
mode:
authorCaden Haustein <code@brightlysalty.33mail.com>2021-07-23 08:04:29 +0000
committerGitHub <noreply@github.com>2021-07-23 10:04:29 +0200
commitf62f4159f8c793ba24fa214b26c4dc68a530bc2e (patch)
tree60212e7ef8ee01ef0b6bf9ba877ac26c33e07f64 /lib/pure/random.nim
parent5386ae75ba91ee2fe280f1fe807676a7c9af4b13 (diff)
downloadNim-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