[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 15:33:30 +0300

Stefan Sperling wrote on Tue, Aug 23, 2011 at 14:26:43 +0200:
> On Tue, Aug 23, 2011 at 01:32:38PM +0300, Daniel Shahaf wrote:
> > Backport?
>
> This shaves one byte off a struct. I don't think it's very important.
>

*shaves*. Sorry, I misread the diff.

> > 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 14:34:31 CEST

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