diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2015-10-03 00:24:43 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2015-10-03 00:32:34 -0700 |
commit | f689642bac132e189d0c0960c171ae9043a37298 (patch) | |
tree | bd7b30736bbf8d27f4f2ea0425dfb31ace4a5aac /HACKING | |
parent | 3ba68f9e64fa2eb8af22d510437a0c6441feb5e0 (diff) | |
download | coreutils-f689642bac132e189d0c0960c171ae9043a37298.tar.xz |
build: Pacify GCC 5 on 32-bit hosts
This pacifies GCC 5 in a better way, without disabling diagnostics.
* src/df.c (main): Tell compiler that optind is positive.
* src/shred.c (known): New function.
(dopass): Go back to off_t for file sizes.
Avoid integer overflow if we run off the end of the file.
Tell compiler that a write cannot write more bytes than requested.
Diffstat (limited to 'HACKING')
0 files changed, 0 insertions, 0 deletions