[SCM] Samba Shared Repository - branch v3-0-test updated - release-3-0-28a-1187-g9c5c3ea

Jeremy Allison jra at samba.org
Wed May 21 20:07:09 GMT 2008


On Wed, May 21, 2008 at 04:05:01PM -0400, simo wrote:
> On Wed, 2008-05-21 at 15:03 -0500, Jeremy Allison wrote:
> > The branch, v3-0-test has been updated
> >        via  9c5c3eadf5aaf9821c0ebe1d2bb533eff22aab63 (commit)
> >       from  d1223dd331841c2482301a9418e3a8607c81a8e9 (commit)
> > 
> > http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-test
> > 
> > 
> > - Log -----------------------------------------------------------------
> > commit 9c5c3eadf5aaf9821c0ebe1d2bb533eff22aab63
> > Author: Jeremy Allison <jra at samba.org>
> > Date:   Wed May 21 13:02:40 2008 -0700
> > 
> >     Don't error out on xflush if there's no buffer.
> >     Jeremy.
> > 
> > -----------------------------------------------------------------------
> > 
> > Summary of changes:
> >  source/lib/xfile.c |    4 ++--
> >  1 files changed, 2 insertions(+), 2 deletions(-)
> > 
> > 
> > Changeset truncated at 500 lines:
> > 
> > diff --git a/source/lib/xfile.c b/source/lib/xfile.c
> > index d5b1731..9f83483 100644
> > --- a/source/lib/xfile.c
> > +++ b/source/lib/xfile.c
> > @@ -256,6 +256,8 @@ int x_fflush(XFILE *f)
> >  {
> >  	int ret;
> >  
> > +	if (f->bufused == 0 || !f->buf) return 0;
> > +
> >  	if (f->flags & X_FLAG_ERROR) return -1;
> 
> 
> The patch for 3.2.0 has this check after the X_FLAG_ERROR check, any
> reason why the 2 code branches differe this way now ?

No, just fixed it.

Jeremy.


More information about the samba-technical mailing list