diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-09-29 02:48:09 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-09-29 03:04:29 -0700 |
commit | 659a543da853bcb28c22df300a93bd22dc9ae877 (patch) | |
tree | 7b3651df4ec404fe7041b5a9b698e7ac17307b7e /scripts | |
parent | 887f97b868886a66d7bb2fcd0e1fd6810297299d (diff) | |
download | mpd-659a543da853bcb28c22df300a93bd22dc9ae877.tar.gz mpd-659a543da853bcb28c22df300a93bd22dc9ae877.tar.xz mpd-659a543da853bcb28c22df300a93bd22dc9ae877.zip |
update: move path sanitation up the stack to avoid extra copies
Remove yet another use of our old malloc-happy linked list
implementation and replace it with a simple array of strings.
This also implements more eager error handling of invalid
paths (still centralized in updateInit) so we can filter out
bad paths before we spawn a thread.
This also does its part to fix the "update" command inside list mode
which lost its static variable in
ada24f9a921ff95d874195acf253b5a9dd12213d (although it was broken and
requires the fix in 769939b62f7557f8e7c483223d68a8b39af43e37, too).
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions