[MPlayer-dev-eng] [PATCH] osd menu can't load file containing a quote
Aurelien JACOBS
aurel at gnuage.org
Sun Aug 10 17:58:42 CEST 2003
Hi,
I've juste found a bug which prevent to load a file whose name contain
a quote ('). The menu simply execute a "loadfile '%p'" but when the %p
is replaced by the actual value, quotes in it are not escaped !
Moreover, mp_input_parse_cmd contain some code to unescape strings but
this code was placed after the string was copied in his final buffer.
So this patch correct this issue. It's for main but also apply on 0.90.
Aurélien Jacobs
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: escape-strings.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030810/7e8eadd2/attachment.asc>
More information about the MPlayer-dev-eng
mailing list