From: Jim Meyering Date: Tue, 4 Aug 2009 18:05:45 +0000 (+0200) Subject: dd: remove unnecessary #if HAVE_FTRUNCATE X-Git-Tag: v7.5~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=365fb90eaae52c92d6af8e87769e72b872492f4a;p=thirdparty%2Fcoreutils.git dd: remove unnecessary #if HAVE_FTRUNCATE * src/dd.c (main): Remove unnecessary cpp directives. Gnulib guarantees that ftruncate is usable. --- diff --git a/src/dd.c b/src/dd.c index 0028b53e4e..9a9d22ae7a 100644 --- a/src/dd.c +++ b/src/dd.c @@ -1869,7 +1869,6 @@ main (int argc, char **argv) < 0)) error (EXIT_FAILURE, errno, _("opening %s"), quote (output_file)); -#if HAVE_FTRUNCATE if (seek_records != 0 && !(conversions_mask & C_NOTRUNC)) { uintmax_t size = seek_records * output_blocksize; @@ -1902,7 +1901,6 @@ main (int argc, char **argv) size, quote (output_file)); } } -#endif } install_signal_handlers ();