Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
146192d
)
remember how to write C code
author
Joey Hess
<joey@kodama.kitenet.net>
Fri, 24 Oct 2008 19:49:55 +0000
(15:49 -0400)
committer
Joey Hess
<joey@kodama.kitenet.net>
Fri, 24 Oct 2008 19:49:55 +0000
(15:49 -0400)
been a while!
IkiWiki/Wrapper.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Wrapper.pm
b/IkiWiki/Wrapper.pm
index eb6228dc314dd2b24d6740f34e08c8f73e437512..0a2b8d4f83c80b648d33d2f17474dc5957e91769 100644
(file)
--- a/
IkiWiki/Wrapper.pm
+++ b/
IkiWiki/Wrapper.pm
@@
-72,7
+72,8
@@
int main (int argc, char **argv) {
$envsave
newenviron[i++]="HOME=$ENV{HOME}";
newenviron[i++]="WRAPPED_OPTIONS=$configstring";
- asprintf(newenviron[i++], "CALLER_UID=%i", getuid());
+ asprintf(&s, "CALLER_UID=%i", getuid());
+ newenviron[i++]=s;
newenviron[i]=NULL;
environ=newenviron;