[PATCH v2] tst-tzset: output reason when creating 4GiB file fails

Paul Eggert eggert@cs.ucla.edu
Wed Nov 3 19:14:52 GMT 2021


On 11/2/21 16:31, Stafford Horne via Libc-alpha wrote:
> +   {
> +     printf ("creating timezone file of size: %" PRId64 "MiB failed.\n",
> +	     size / (1024 * 1024));

Why not simply print the size in bytes? Converting to MiB outputs less 
information due to rounding, and is hardly worth the trouble here. Other 
than that, looks fine.


More information about the Libc-alpha mailing list