Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
11 lines
333 B
C
11 lines
333 B
C
--- commands.c.orig 2010-01-19 07:37:07 UTC
|
|
+++ commands.c
|
|
@@ -104,7 +104,7 @@ bool execcommand(globals_t * vars, const
|
|
|
|
np = commands->head;
|
|
|
|
- str = tok = strdupa(commandline);
|
|
+ str = tok = strdup(commandline);
|
|
|
|
/* tokenize command line into an argument vector */
|
|
for (argc = 0; tok; argc++, str = NULL) {
|