Server string syntax ambiguity?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is there an ambiguity issue with server strings containing unix domain socket
paths that in turn contain embedded whitespace? Or are such whitespace-
containing socket paths prohibited by some construction rule that I'm probably
not aware of?

Here's what I'm getting at:

The Wiki writeup on server strings

    http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/ServerStrings/

says that "[t]he server string is a space-seperated list of server addresses",
and then gives rules according to which each component 'server address' is
interpreted. But what if a unix domain socket contains embedded spaces? For
example:

    PULSE_SERVER='/annoying socket path/mysocket    myhost:myport'

or something similar as specified on the commandline (e.g. via the "--server"
option to pulseaudio or pactl)?

At the C subroutine level, obviously there is no problem with embedded spaces,
but the issue arises (at least, in my head) about parsing of the --server
option or the various envars (e.g. $PULSE_SERVER) used to provide server
strings.


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux