[cmake-developers] [PATCH] Avoid bad alloc for large files

Rolf Eike Beer eike at sf-mail.de
Mon Dec 22 16:16:50 EST 2014


Am Montag, 22. Dezember 2014, 10:50:28 schrieb Brad King:
> On 12/20/2014 08:44 AM, Rolf Eike Beer wrote:
> > This is basically the same, but it avoids the needless floating point
> > arithmetic. Does it work for you?
> 
> Thanks, Eike.  Please add a topic to put this in 'next' when ready.

Done. I wonder if we should not check for new returning null?

Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20141222/e9742b9d/attachment.sig>


More information about the cmake-developers mailing list