[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 02/205: cmake: Replace invalid UTF-8 byte sequence
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 02/205: cmake: Replace invalid UTF-8 byte sequence |
Date: |
Thu, 20 Apr 2017 16:19:02 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to annotated tag gnurl-7.54.0
in repository gnurl.
commit bbc81c46e89d09676273eea5fa15981c2e6151c8
Author: Simon Warta <address@hidden>
AuthorDate: Mon Feb 20 23:07:58 2017 +0100
cmake: Replace invalid UTF-8 byte sequence
- Change the encoding of the regex temp placeholder token to UTF-8.
Prior to this change the file contained special chars in a different
encoding than ASCII or UTF-8 making text editors and Python complain
when reading the file.
Closes https://github.com/curl/curl/pull/1271
Closes https://github.com/curl/curl/pull/1275
---
CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 17606bf65..3ad2de03a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1043,9 +1043,9 @@ function(TRANSFORM_MAKEFILE_INC INPUT_FILE OUTPUT_FILE)
string(REPLACE "$(top_srcdir)" "\${CURL_SOURCE_DIR}" MAKEFILE_INC_TEXT
${MAKEFILE_INC_TEXT})
string(REPLACE "$(top_builddir)" "\${CURL_BINARY_DIR}" MAKEFILE_INC_TEXT
${MAKEFILE_INC_TEXT})
- string(REGEX REPLACE "\\\\\n" "�!�" MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT})
+ string(REGEX REPLACE "\\\\\n" "!π!α!" MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT})
string(REGEX REPLACE "([a-zA-Z_][a-zA-Z0-9_]*)[\t ]*=[\t ]*([^\n]*)"
"SET(\\1 \\2)" MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT})
- string(REPLACE "�!�" "\n" MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT})
+ string(REPLACE "!π!α!" "\n" MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT})
string(REGEX REPLACE "\\$\\(([a-zA-Z_][a-zA-Z0-9_]*)\\)" "\${\\1}"
MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT}) # Replace $() with ${}
string(REGEX REPLACE "@([a-zA-Z_][a-zA-Z0-9_]*)@" "\${\\1}"
MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT}) # Replace @@ with ${}, even if that
may not be read by CMake scripts.
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnurl] annotated tag gnurl-7.54.0 created (now ebd83b061), gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 12/205: cyassl: get library version string at runtime, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 09/205: gopher: fixed detection of an error condition from Curl_urldecode, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 10/205: url: fix unix-socket support for proxy-disabled builds, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 05/205: proxy: fixed a memory leak on OOM, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 13/205: digest_sspi: fix compilation warning, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 11/205: test1139: allow for the possibility that the man page is not rebuilt, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 06/205: ftp: removed an erroneous free in an OOM path, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 01/205: bump: work on the next release, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 02/205: cmake: Replace invalid UTF-8 byte sequence,
gnunet <=
- [GNUnet-SVN] [gnurl] 03/205: test557: explicitly use the C locale so the numeric output is as expected, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 04/205: tests: use consistent environment variables for setting charset, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 16/205: darwinssl: Warn that disabling host verify also disables SNI, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 08/205: ftp: fixed a NULL pointer dereference on OOM, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 14/205: tests: enable HTTP/2 tests to run with non-default port numbers, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 15/205: warnless: suppress compiler warning, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 20/205: configure: fix --with-zlib when a path is specified, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 32/205: BINDINGS: add misssing C++ bindings, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 29/205: CMake: Add mbedTLS support, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 25/205: fix potential use of uninitialized variables, gnunet, 2017/04/20