diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2019-01-23 21:43:14 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-01-24 21:02:34 +0200 |
commit | 8df5afc98aae6863d1fc24d902dc4e31141a1711 (patch) | |
tree | b0eeae0a152e4cd97143fd5f7f270c773743b62a /docs | |
parent | b45c367d922a0a6baa134f59a7b900390cb3fe7b (diff) | |
download | meson-8df5afc98aae6863d1fc24d902dc4e31141a1711.zip meson-8df5afc98aae6863d1fc24d902dc4e31141a1711.tar.gz meson-8df5afc98aae6863d1fc24d902dc4e31141a1711.tar.bz2 |
configure_file: preserve newlines of the input file. Fixes #4817
In some cases (see #4817) it's helpful if the output file uses the
same newlines as the input file without translating them to the
platform defaults.
open() by default recognizes all newline styles and translates them
to "\n" and then to the platform default when writing.
Passing "" to "newline" disables the translation and lets us pass through
the original newline characters.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions