opnsense-ports/sysutils/scanmem/files/patch-commands.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

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) {