diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2011-10-28 12:46:23 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2011-10-28 12:46:23 -0400 |
commit | 8d07a73b1f3a2dd702f7edf6503b7b35831a9884 (patch) | |
tree | 30615ef75540ee9d98382fabc4ea1b3474f75ebc /debian | |
parent | 097150b5347c6cbeb87d54d45f1188faf6536a0e (diff) | |
download | bcfg2-8d07a73b1f3a2dd702f7edf6503b7b35831a9884.tar.gz bcfg2-8d07a73b1f3a2dd702f7edf6503b7b35831a9884.tar.bz2 bcfg2-8d07a73b1f3a2dd702f7edf6503b7b35831a9884.zip |
Made Verifyfile() much more efficient and resilient:
* Use file size to do an initial comparison to see if the file on disk
differs from the data in the config;
* Only do diffs if necessary: unified diff if -I is used, ndiff if a
file is not sensitive or binary;
* Both diffs have timeouts;
* Fixed edge case where null-content binary files would produce stack
traces, not errors.
Diffstat (limited to 'debian')
0 files changed, 0 insertions, 0 deletions