diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2011-05-17 08:43:56 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-18 14:28:09 +0100 |
commit | d10df0e5a363fe8b305ffac7e8ac231da8e07552 (patch) | |
tree | 85c9811237ba60162187fe8d9670d90f169f88e1 /meta/recipes-devtools/gcc/files/pr22133-mingw-path-fixup.patch | |
parent | b5cfa911ed80a7e57ae1025b9e365f4678acf491 (diff) | |
download | openembedded-core-d10df0e5a363fe8b305ffac7e8ac231da8e07552.tar.gz openembedded-core-d10df0e5a363fe8b305ffac7e8ac231da8e07552.tar.bz2 openembedded-core-d10df0e5a363fe8b305ffac7e8ac231da8e07552.zip |
gcc: remove unused patches and move patches in proper dir
gcc: update upstream-status for patches
python: update upstream-status for patches
libtool: update upstream-status of patches
m4: update upstream status for patches
eglibc: remove unused patches
eglibc: update upstream status of patches
glibc: update upstream-status of patches & remove unused patches
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Diffstat (limited to 'meta/recipes-devtools/gcc/files/pr22133-mingw-path-fixup.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/files/pr22133-mingw-path-fixup.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/meta/recipes-devtools/gcc/files/pr22133-mingw-path-fixup.patch b/meta/recipes-devtools/gcc/files/pr22133-mingw-path-fixup.patch deleted file mode 100644 index 429e9ffd0c..0000000000 --- a/meta/recipes-devtools/gcc/files/pr22133-mingw-path-fixup.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff -rupN gcc-4.2.orig/gcc/c-incpath.c gcc-4.2/gcc/c-incpath.c ---- gcc-4.2.orig/gcc/c-incpath.c 2007-09-01 11:28:30.000000000 -0400 -+++ gcc-4.2/gcc/c-incpath.c 2008-08-17 16:56:01.000000000 -0400 -@@ -340,13 +340,18 @@ add_path (char *path, int chain, int cxx - cpp_dir *p; - - #if defined (HAVE_DOS_BASED_FILE_SYSTEM) -- /* Convert all backslashes to slashes. The native CRT stat() -- function does not recognize a directory that ends in a backslash -- (unless it is a drive root dir, such "c:\"). Forward slashes, -- trailing or otherwise, cause no problems for stat(). */ -- char* c; -- for (c = path; *c; c++) -- if (*c == '\\') *c = '/'; -+ /* Remove unnecessary trailing slashes. On some versions of MS -+ Windows, trailing _forward_ slashes cause no problems for stat(). -+ On newer versions, stat() does not recognise a directory that ends -+ in a '\\' or '/', unless it is a drive root dir, such as "c:/", -+ where it is obligatory. */ -+ int pathlen = strlen (path); -+ char* end = path + pathlen - 1; -+ /* Preserve the lead '/' or lead "c:/". */ -+ char* start = path + (pathlen > 2 && path[1] == ':' ? 3 : 1); -+ -+ for (; end > start && IS_DIR_SEPARATOR (*end); end--) -+ *end = 0; - #endif - - p = XNEW (cpp_dir); |