summaryrefslogtreecommitdiff
path: root/po/en.po
diff options
context:
space:
mode:
authorJim Meyering <meyering@fb.com>2015-11-28 18:02:05 -0800
committerJim Meyering <meyering@fb.com>2015-12-06 11:37:44 -0800
commita3ea9cd5cb911a0319c81b01e205b24c92a8535c (patch)
treed0128e5353d222f1e8e97eece6abc21bfebbcbe8 /po/en.po
parenta1140dd45845d838401425f9a3c0af944abb5795 (diff)
downloaddiffutils-a3ea9cd5cb911a0319c81b01e205b24c92a8535c.tar.gz
diff --brief no longer mistakenly reports diff. with 0-sized /proc/ files
Normally, it is safe to assume two regular files are different when their st_size values are different. However, that assumption may be invalid if either value is zero, as happens with files on Linux /proc and /sys file systems. Since skipping this optimization will usually cost very little (one read syscall, to read zero bytes), it is fine to accommodate those unusual files. * src/analyze.c (diff_2_files): Do not assume regular files differ just because their st_size values differ when one or more is 0. * src/diff.c (compare_files): Likewise. * tests/brief-vs-proc-stat-zero: New test. * tests/Makefile.am: Add it. * NEWS (Bug fixes): Describe it. Reported by Stephan Müller in http://debbugs.gnu.org/21942
Diffstat (limited to 'po/en.po')
0 files changed, 0 insertions, 0 deletions