git://git.exim.org
/
users
/
heiko
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Build: workaround inlining problems on Solaris
[users/heiko/exim.git]
/
src
/
src
/
setenv.c
diff --git
a/src/src/setenv.c
b/src/src/setenv.c
index 9a05b64b90cc42ef23787695cd07063d40d7e7c1..0274830195c72ff6bf03ab1c1947e7486a25101e 100644
(file)
--- a/
src/src/setenv.c
+++ b/
src/src/setenv.c
@@
-17,7
+17,7
@@
setenv(const char * name, const char * val, int overwrite)
uschar * s;
if (Ustrchr(name, '=')) return -1;
if (overwrite || !getenv(name))
- putenv(CS string_copy_
malloc(string_sprintf("%s=%s", name, val))
);
+ putenv(CS string_copy_
perm(string_sprintf("%s=%s", name, val)), FALSE
);
return 0;
}