mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
make sure that we make include paths absolute before calling chdir()
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1739 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
a1322269d5
commit
02811bfc0f
1 changed files with 5 additions and 2 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue