From: Marcus Griep Date: Thu, 14 Aug 2008 14:09:14 GMT Subject: Re: [PATCH 2] count-objects: add human-readable size option Message-ID: <48A43C8A.9010309@griep.us> In-Reply-To: <48A3E142.9060606@viscovery.net> Johannes Sixt wrote: > No need to die here. Just make the buffer large enough, and you can have > something that is as large as 18446744073709551615Y. In my initial rendition, the output was guaranteed not to be longer than 5 characters. However, you're right that there's no need to die, but perhaps just return a negative value equal to the size over the user's requested maxlen. -- Marcus Griep GPG Key ID: 0x5E968152 —— http://www.boohaunt.net את.ψο´