diff options
author | Jim Meyering <meyering@fb.com> | 2017-01-31 16:44:03 -0800 |
---|---|---|
committer | Jim Meyering <meyering@fb.com> | 2017-01-31 16:46:17 -0800 |
commit | eaa2a24345fba918eb7ad7a6a263e7e639d82d5f (patch) | |
tree | 29e02968e9cbe0a161e6cd1b8aac0c3c36e512d3 /NEWS | |
parent | 8420aff7e0eac5b6d02dcb60b88b9f9c2150f85a (diff) | |
download | diffutils-eaa2a24345fba918eb7ad7a6a263e7e639d82d5f.tar.gz |
diff: avoid UMR with ---presume-output-tty
* src/diff.c (main): Always define presume_output_tty.
Otherwise, it would be read uninitialized.
Introduced in v3.3-45-g17e2698
* NEWS (Bug fixes): Mention it.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -6,6 +6,9 @@ GNU diffutils NEWS -*- outline -*- diff no longer mishandles line numbers exceeding 2**31 on Mingw-w64. + the ---presume-output-tty (ostensibly test-only) option would cause + diff --color to read an uninitialized variable + ** Performance changes diff's default algorithm has been tweaked to deal better with larger |