]> git.ipfire.org Git - thirdparty/util-linux.git/commit
hardlink: retire NIOBUF in favour of more common BUFSIZ
authorSami Kerola <kerolasa@iki.fi>
Wed, 1 May 2019 19:04:24 +0000 (20:04 +0100)
committerSami Kerola <kerolasa@iki.fi>
Wed, 1 May 2019 19:19:19 +0000 (20:19 +0100)
commite2aa5d82b91b7649dc8494e2cd9a4694a8a97efb
tree42bd4ff260150936f6eefacc563b9894da3916a6
parent007b9874d8074f6687ce9fe0c8a4ae9ae9aad72a
hardlink: retire NIOBUF in favour of more common BUFSIZ

Reason to retire NIOBUF is that it is obscure local definition, while BUFSIZ
is well understood and commonly used constant.  Besized sizes of these are
not far off, the NIOBUF was 4096 bytes and BUFSIZ tends to be 8192 bytes.

Proposed-by: Karel Zak <kzak@redhat.com>
Reference: https://github.com/karelzak/util-linux/pull/783
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
misc-utils/hardlink.c