[Bug 230049] OpenBSD diff (WITHOUT_GNU_DIFF) --strip-trailing-cr is incorrect
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jul 26 05:57:56 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230049
Bug ID: 230049
Summary: OpenBSD diff (WITHOUT_GNU_DIFF) --strip-trailing-cr is
incorrect
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs at FreeBSD.org
Reporter: emacsray at gmail.com
% printf 'a\nb\r\nc\n' > a
% printf 'a\r\nb\r\nc\r\n' > b
% diff --strip-trailing-cr a b
...
@@ -1,3 +1,3 @@
a
b
-c
+
GNU diff would report no difference.
The --strip-trailing-cr issue caused an LLVM test
test/MC/AsmParser/preserve-comments-crlf.s to fail.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list