From 365fb90eaae52c92d6af8e87769e72b872492f4a Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 4 Aug 2009 20:05:45 +0200 Subject: [PATCH] dd: remove unnecessary #if HAVE_FTRUNCATE * src/dd.c (main): Remove unnecessary cpp directives. Gnulib guarantees that ftruncate is usable. --- src/dd.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/dd.c b/src/dd.c index 0028b53e4..9a9d22ae7 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 ();