summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2014-04-02 23:28:20 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2014-04-02 23:28:59 -0700
commit88545ad025b4d9083502889b9f8de9e5ca0b766d (patch)
tree1b35edddc1f534c5322e1b39abaad2577e38d1b7 /Makefile.am
parent9111dd2499ca5c26d2658bf85966e8160f51d280 (diff)
downloadcoreutils-88545ad025b4d9083502889b9f8de9e5ca0b766d.tar.xz
shred: port to GNU/Linux behavior with tape drives
See: http://bugs.gnu.org/17149 * src/shred.c [__linux__]: Include <sys/mtio.h>. (dorewind): New function, which works around the lseek problem with tape drives on GNU/Linux, the same way that dd does. (dopass): Use it. New arg ST, needed for dorewind. All uses changed. (do_wipefd): Don't rely on undefined behavior on integer overflow of file sizes. Use INT_ADD_OVERFLOW instead.
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions