Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Mar 2018 23:46:14 +0200
From:      Stefan Bethke <stb@lassitu.de>
To:        freebsd-hackers@FreeBSD.org
Subject:   Bugzilla converts patch to CRLF line endings?
Message-ID:  <AC4C81D8-A928-4E8C-A067-EE83EBF044F1@lassitu.de>

next in thread | raw e-mail | index | archive | help
Hey,

I=E2=80=99ve submitted patched for the ports I maintain by copy/pasting =
the svn diff output into the Bugzilla attachment form for a long time.  =
The committer working on =
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226941 noticed that =
the patch apparently has CRLF line endings, making it hard(er) to apply =
it properly.

Working on a Mac with Terminal and Safari, I have not have noticed any =
such behaviour. When I copy/paste from Bugzilla into Terminal, =
everything works just fine, so I can do =E2=80=9Ecd /usr/ports/cat/port; =
patch -p0=E2=80=9C then paste and ^D.

When I download the attachment from the =E2=80=9Eraw=E2=80=9C attachment =
link (in my example =
https://bz-attachments.freebsd.org/attachment.cgi?id=3D191852) with curl =
or wget, I do get to see CR-LF.

Where does that happen? And is that a bug or a feature?


Stefan

--=20
Stefan Bethke <stb@lassitu.de>   Fon +49 151 14070811





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AC4C81D8-A928-4E8C-A067-EE83EBF044F1>