From: Michael Orlitzky Date: Mon, 26 Feb 2018 01:03:44 +0000 (-0500) Subject: Inline the is_hardlink_safe() and is_regular_file() functions. X-Git-Tag: v0.1.0~26 X-Git-Url: http://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=aeedc5826cb0594318031e35acaf8b4a1b6e7c32;hp=aeedc5826cb0594318031e35acaf8b4a1b6e7c32;p=apply-default-acl.git Inline the is_hardlink_safe() and is_regular_file() functions. These two functions were only called in one place, and they were called right after one another. Both functions merely peek the stat structure for a file descriptor, so it's easier to stat the thing once and then just inline the two checks rather than setup/teardown everything twice. ---