summaryrefslogtreecommitdiff
path: root/src/dd.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-08-04 20:05:45 +0200
committerJim Meyering <meyering@redhat.com>2009-08-04 20:06:03 +0200
commit365fb90eaae52c92d6af8e87769e72b872492f4a (patch)
tree32e89ced654c5214c7545be4b06c75d525394f8c /src/dd.c
parenteae535e1a322e244248bd31ed7e21ac95ecaa16d (diff)
downloadcoreutils-365fb90eaae52c92d6af8e87769e72b872492f4a.tar.xz
dd: remove unnecessary #if HAVE_FTRUNCATE
* src/dd.c (main): Remove unnecessary cpp directives. Gnulib guarantees that ftruncate is usable.
Diffstat (limited to 'src/dd.c')
-rw-r--r--src/dd.c2
1 files changed, 0 insertions, 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 ();