aboutsummaryrefslogtreecommitdiffstats
path: root/main/make/make-3.82-memory-corruption.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-10-18 13:12:10 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-18 13:12:32 +0000
commit4b09bbb9e2e79afdb8264c4d56361ca5b8756f30 (patch)
tree6d2191ae6dd7448c36c57403b2ac2dc83ce604f7 /main/make/make-3.82-memory-corruption.patch
parentb6709fdde1a36e6d9c14f9af122179f123450ff2 (diff)
downloadaports-4b09bbb9e2e79afdb8264c4d56361ca5b8756f30.tar.bz2
aports-4b09bbb9e2e79afdb8264c4d56361ca5b8756f30.tar.xz
main/make: upgrade to 4.0
Diffstat (limited to 'main/make/make-3.82-memory-corruption.patch')
-rw-r--r--main/make/make-3.82-memory-corruption.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/main/make/make-3.82-memory-corruption.patch b/main/make/make-3.82-memory-corruption.patch
deleted file mode 100644
index b52dd6e0b9..0000000000
--- a/main/make/make-3.82-memory-corruption.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- ./function.c 2011/04/18 01:25:20 1.121
-+++ ./function.c 2011/05/02 12:35:01 1.122
-@@ -706,7 +706,7 @@
- const char *word_iterator = argv[0];
- char buf[20];
-
-- while (find_next_token (&word_iterator, (unsigned int *) 0) != 0)
-+ while (find_next_token (&word_iterator, NULL) != 0)
- ++i;
-
- sprintf (buf, "%d", i);
-@@ -1133,21 +1133,14 @@
-
- /* Find the maximum number of words we'll have. */
- t = argv[0];
-- wordi = 1;
-- while (*t != '\0')
-+ wordi = 0;
-+ while ((p = find_next_token (&t, NULL)) != 0)
- {
-- char c = *(t++);
--
-- if (! isspace ((unsigned char)c))
-- continue;
--
-+ ++t;
- ++wordi;
--
-- while (isspace ((unsigned char)*t))
-- ++t;
- }
-
-- words = xmalloc (wordi * sizeof (char *));
-+ words = xmalloc ((wordi == 0 ? 1 : wordi) * sizeof (char *));
-
- /* Now assign pointers to each string in the array. */
- t = argv[0];