Pádraig Brady wrote:
> +enum { IO_BUFSIZE = 32*1024; };
> +static inline size_t
> +io_blksize (struct stat sb)
> +{
> +  return MAX (IO_BUFSIZE, ST_BLKSIZE (sb));
> +}

You can also move the definition of IO_BUFSIZE into the function,
and avoid imposing that name on all who include system.h.

> version I'll push soonish

Go for it.


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to