diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2015-01-09 00:18:30 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2015-01-09 00:18:30 -0600 |
commit | ff4002f7a42db78228975b1c492cd8afa22df886 (patch) | |
tree | c591303cf5fb7e808387d53a04c16eda002af6ad /src | |
parent | 7690d56228fdf1f634046f53a489ab2b93099a83 (diff) | |
download | libr-ff4002f7a42db78228975b1c492cd8afa22df886.tar.gz libr-ff4002f7a42db78228975b1c492cd8afa22df886.zip |
Fix prior commit
Diffstat (limited to 'src')
-rw-r--r-- | src/libr-bfd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libr-bfd.c b/src/libr-bfd.c index 629a466..338cd81 100644 --- a/src/libr-bfd.c +++ b/src/libr-bfd.c @@ -334,7 +334,7 @@ int safe_rename(const char *old, const char *new) fclose(in); return -1; } - while(!feof(in) && !ferror(in)) { + while(!feof(in)) { read = fread(buffer, 1, sizeof(buffer), in); if (read > 0) { fwrite(buffer, 1, read, out); |