This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2][BZ #13152] fmemopen does not honor append mode.


On Thu, May 16, 2013 at 05:29:37PM -0700, Roland McGrath wrote:
> > -	tst-mmap2-eofsync tst-mmap-offend test-fopen-bz12685 bug-fopena+ bug-wfflush \
> > +	tst-mmap2-eofsync tst-mmap-offend test-fopen-bz12685 test-fmemopen-bz13152 bug-fopena+ bug-wfflush \
> 
> This line is too long (it already was, but fix it now).
> 
> > +      if (mode[0] == 'a')
> > +	{
> > +	  len -= c->maxpos;
> > +	  c->buffer += c->maxpos;
> > +	  c->maxpos = 0;
> > +	}
> 
> How can this possibly be right for "a+" mode or ftell?
> 
ok, need will post new version.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]