[pulseaudio-commits] r1739 - /branches/lennart/src/daemon/cmdline.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Thu Aug 30 17:52:43 PDT 2007
Author: lennart
Date: Fri Aug 31 02:52:42 2007
New Revision: 1739
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=3D1739&root=3Dpulseaudio&vi=
ew=3Drev
Log:
make sure that we make include paths absolute before calling chdir()
Modified:
branches/lennart/src/daemon/cmdline.c
Modified: branches/lennart/src/daemon/cmdline.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/daemon/cmd=
line.c?rev=3D1739&root=3Dpulseaudio&r1=3D1738&r2=3D1739&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/lennart/src/daemon/cmdline.c (original)
+++ branches/lennart/src/daemon/cmdline.c Fri Aug 31 02:52:42 2007
@@ -199,9 +199,12 @@
break;
=
case ARG_FILE:
- case 'F':
- pa_strbuf_printf(buf, ".include %s\n", optarg);
- break;
+ case 'F': {
+ char *p;
+ pa_strbuf_printf(buf, ".include %s\n", p =3D pa_make_path_=
absolute(optarg));
+ pa_xfree(p);
+ break;
+ }
=
case 'C':
pa_strbuf_puts(buf, "load-module module-cli exit_on_eof=3D=
1\n");
More information about the pulseaudio-commits
mailing list