projects
/
babl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ec7f09
)
tests: use putenv when setting env vars, for win32 compatibility
author
Øyvind Kolås
<pippin@gimp.org>
Thu, 28 May 2020 12:07:20 +0000
(14:07 +0200)
committer
Øyvind Kolås
<pippin@gimp.org>
Thu, 28 May 2020 12:07:32 +0000
(14:07 +0200)
tests/conversions.c
patch
|
blob
|
history
diff --git
a/tests/conversions.c
b/tests/conversions.c
index 3074c4fd75bc2425fd9192c0f95a0d300791016d..9503d041dc506ef86b9bbbf116e80f6385491afd 100644
(file)
--- a/
tests/conversions.c
+++ b/
tests/conversions.c
@@
-58,7
+58,8
@@
int
main (int argc,
char **argv)
{
- setenv ("BABL_DEBUG_MISSING", "1", 1);
+ putenv ("BABL_DEBUG_CONVERSIONS" "=" "1");
+ putenv ("BABL_DEBUG_MISSING" "=" "1");
babl_init ();
for (int i = 0; i < sizeof (fishes)/sizeof(fishes[0]);i ++)