summaryrefslogtreecommitdiff
path: root/testing/glibc/glibc-2.15-confstr-strdup.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/glibc/glibc-2.15-confstr-strdup.patch')
-rw-r--r--testing/glibc/glibc-2.15-confstr-strdup.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/testing/glibc/glibc-2.15-confstr-strdup.patch b/testing/glibc/glibc-2.15-confstr-strdup.patch
deleted file mode 100644
index 5ce9cd232..000000000
--- a/testing/glibc/glibc-2.15-confstr-strdup.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-diff --git a/posix/confstr.c b/posix/confstr.c
-index 3c9566d..3ba9e5a 100644
---- a/posix/confstr.c
-+++ b/posix/confstr.c
-@@ -104,7 +104,7 @@ confstr (name, buf, len)
- }
- #endif
- restenvs[string_len++] = '\0';
-- string = restenvs;
-+ string = strdup(restenvs);
- }
- break;
-
-@@ -167,7 +167,7 @@ confstr (name, buf, len)
- }
- #endif
- restenvs[string_len++] = '\0';
-- string = restenvs;
-+ string = strdup(restenvs);
- }
- break;
-
-@@ -230,7 +230,7 @@ confstr (name, buf, len)
- }
- #endif
- restenvs[string_len++] = '\0';
-- string = restenvs;
-+ string = strdup(restenvs);
- }
- break;
-