summaryrefslogtreecommitdiffstats
path: root/PATCHES/windows-lrealpath-no-force-lowercase-nor-backslash.patch
diff options
context:
space:
mode:
authorJoerg Koenig <Joerg.Koenig@techsat.com>2019-05-30 14:53:28 (GMT)
committerJoerg Koenig <Joerg.Koenig@techsat.com>2019-05-30 14:53:28 (GMT)
commitfb4009e29d14b8ad1b3945225451dc964e248660 (patch)
treedfbfa106f07e305f27f2bc7487cfc6b22e1ef9a8 /PATCHES/windows-lrealpath-no-force-lowercase-nor-backslash.patch
parentc75756608d1d3fe2158da5b549fd63ba96ec1c36 (diff)
downloadgcc-compiler-suite-fb4009e29d14b8ad1b3945225451dc964e248660.zip
gcc-compiler-suite-fb4009e29d14b8ad1b3945225451dc964e248660.tar.gz
gcc-compiler-suite-fb4009e29d14b8ad1b3945225451dc964e248660.tar.bz2
New version 1.3.0refs/changes/89/7689/1
windows nativ: - using posix thread model - with dwarf2 - added mingw tools Resolves: :jira:<issue> See also: :jira:<issue> Change-Id: I198fe988f0945db58f65be47dbb87cb9d00c2992
Diffstat (limited to 'PATCHES/windows-lrealpath-no-force-lowercase-nor-backslash.patch')
-rw-r--r--PATCHES/windows-lrealpath-no-force-lowercase-nor-backslash.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/PATCHES/windows-lrealpath-no-force-lowercase-nor-backslash.patch b/PATCHES/windows-lrealpath-no-force-lowercase-nor-backslash.patch
deleted file mode 100644
index 697469d..0000000
--- a/PATCHES/windows-lrealpath-no-force-lowercase-nor-backslash.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff -ruNb gcc-7.1.0.orig/libiberty/lrealpath.c gcc-7.1.0/libiberty/lrealpath.c
---- gcc-7.1.0.orig/libiberty/lrealpath.c 2017-01-04 12:30:51.000000000 +0100
-+++ gcc-7.1.0/libiberty/lrealpath.c 2017-05-28 00:13:05.844315144 +0200
-@@ -138,15 +138,26 @@
- {
- char buf[MAX_PATH];
- char* basename;
-+ char* slash;
- DWORD len = GetFullPathName (filename, MAX_PATH, buf, &basename);
- if (len == 0 || len > MAX_PATH - 1)
- return strdup (filename);
- else
- {
-- /* The file system is case-preserving but case-insensitive,
-- Canonicalize to lowercase, using the codepage associated
-- with the process locale. */
-- CharLowerBuff (buf, len);
-+ /* Turn all back slashes back back into forward slashes
-+ and don't make it all lowercase.
-+ Rationale:
-+ Windows is as happy with / as it is with \. This will
-+ have been built using Cygwin, MSYS* or cross-compiled
-+ from a system where dirsep is / so it is cleaner just
-+ to keep the dirseps as / (and the case un-modified).
-+ This way, the value will be consistent with the build
-+ system and string operations (be they internal to this
-+ software or external to it, e.g. processing map files
-+ with sed) work as expected. */
-+ slash = buf;
-+ while ((slash = strchr(slash,'\\')) != NULL)
-+ *slash = '/';
- return strdup (buf);
- }
- }