[vlc-devel] [PATCH 2/2] Fix for Ticket #6782

Ilkka Ollakka ileoo at videolan.org
Fri Sep 21 12:01:50 CEST 2012


On Tue, Sep 18, 2012 at 11:55:21PM +0200, Vasily Fomin wrote:

Hi,

Checking that ticket, I don't really see straight correlation with this
patch? As ticket is market to Qt4 interface and this changes core. Also
does this work other cases than when the filename is the last in block?

As iirc Remi asked, littlebit more info what the commit actually does
than referring to ticket would be nice.

> diff --git a/src/config/chain.c b/src/config/chain.c
> index 7d0b71d..e9acd55 100644
> --- a/src/config/chain.c
> +++ b/src/config/chain.c
> @@ -79,7 +79,7 @@ static const char *ChainGetEnd( const char *psz_string )

>      for( ;; p++)
>      {
> -        if( *p == '\0' || *p == ',' || *p == '}' )
> +        if( *p == '\0' || *p == ',' || *p == '}' || ((*p == '\'') && (*(++p) == '}')) )
>              return p;

>          if( *p == '{' || *p == '"' || *p == '\'' )
-- 
Ilkka Ollakka
"Can you program?"  "Well, I'm literate, if that's what you mean!"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120921/6c451759/attachment.sig>


More information about the vlc-devel mailing list