projects
/
profile
/
ivi
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a132226
)
make sure that we make include paths absolute before calling chdir()
author
Lennart Poettering
<lennart@poettering.net>
Fri, 31 Aug 2007 00:52:42 +0000
(
00:52
+0000)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 31 Aug 2007 00:52:42 +0000
(
00:52
+0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1739
fefdeb5f
-60dc-0310-8127-
8f9354f1896f
src/daemon/cmdline.c
patch
|
blob
|
history
diff --git
a/src/daemon/cmdline.c
b/src/daemon/cmdline.c
index
705115e
..
384dde3
100644
(file)
--- a/
src/daemon/cmdline.c
+++ b/
src/daemon/cmdline.c
@@
-199,9
+199,12
@@
int pa_cmdline_parse(pa_daemon_conf *conf, int argc, char *const argv [], int *d
break;
case ARG_FILE:
- case 'F':
- pa_strbuf_printf(buf, ".include %s\n", optarg);
+ case 'F': {
+ char *p;
+ pa_strbuf_printf(buf, ".include %s\n", p = pa_make_path_absolute(optarg));
+ pa_xfree(p);
break;
+ }
case 'C':
pa_strbuf_puts(buf, "load-module module-cli exit_on_eof=1\n");