This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: [v3] remove non-standard basic_filebuf members, fd, FILE filebufs


Jason Merrill <jason@redhat.com> wrote:

> >>>>> "Benjamin" == Benjamin Kosnik <bkoz@redhat.com> writes:
> 
> > ! 	      // Allocate internal buffer.
> > ! 	      try { _M_buf = new char_type[_M_buf_size];
> > ! 	      catch(...) 
> > ! 		{
> > ! 		  delete [] _M_buf;
> > ! 		  __throw_exception_again;
> > ! 		}

should just be

_M_buf = new char_type[_M_buf_size];

similar bits are in localename.cc, I'll patch those as well.

About the rest of the patch though: what say you?

-benjamin


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