[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1160601 - /subversion/trunk/subversion/libsvn_subr/magic.c

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Tue, 23 Aug 2011 13:32:38 +0300

Backport?

stsp_at_apache.org wrote on Tue, Aug 23, 2011 at 09:59:42 -0000:
> Author: stsp
> Date: Tue Aug 23 09:59:42 2011
> New Revision: 1160601
>
> URL: http://svn.apache.org/viewvc?rev=1160601&view=rev
> Log:
> * subversion/libsvn_subr/magic.c
> (svn_magic__cookie_t): Put a dummy byte into this structure only
> if libmagic support is disabled.
>
> Modified:
> subversion/trunk/subversion/libsvn_subr/magic.c
>
> Modified: subversion/trunk/subversion/libsvn_subr/magic.c
> URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/magic.c?rev=1160601&r1=1160600&r2=1160601&view=diff
> ==============================================================================
> --- subversion/trunk/subversion/libsvn_subr/magic.c (original)
> +++ subversion/trunk/subversion/libsvn_subr/magic.c Tue Aug 23 09:59:42 2011
> @@ -45,8 +45,9 @@
> struct svn_magic__cookie_t {
> #ifdef SVN_HAVE_LIBMAGIC
> magic_t magic;
> -#endif
> +#else
> char dummy;
> +#endif
> };
>
> #ifdef SVN_HAVE_LIBMAGIC
>
>
Received on 2011-08-23 12:33:39 CEST

This is an archived mail posted to the Subversion Dev mailing list.