Skip to content
Snippets Groups Projects
Commit 23aceea4 authored by Miller Puckette's avatar Miller Puckette
Browse files

Merge harpo:pd into test

parents 7db762c9 5146f22b
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ extern "C" { ...@@ -11,7 +11,7 @@ extern "C" {
#define PD_MAJOR_VERSION 0 #define PD_MAJOR_VERSION 0
#define PD_MINOR_VERSION 41 #define PD_MINOR_VERSION 41
#define PD_BUGFIX_VERSION 0 #define PD_BUGFIX_VERSION 0
#define PD_TEST_VERSION "test08" #define PD_TEST_VERSION "test09"
/* old name for "MSW" flag -- we have to take it for the sake of many old /* old name for "MSW" flag -- we have to take it for the sake of many old
"nmakefiles" for externs, which will define NT and not MSW */ "nmakefiles" for externs, which will define NT and not MSW */
......
...@@ -822,14 +822,16 @@ int sys_argparse(int argc, char **argv) ...@@ -822,14 +822,16 @@ int sys_argparse(int argc, char **argv)
else if (!strcmp(*argv, "-schedlib")) else if (!strcmp(*argv, "-schedlib"))
{ {
sys_externalschedlib = 1; sys_externalschedlib = 1;
strcpy(sys_externalschedlibname, argv[1]); strncpy(sys_externalschedlibname, argv[1],
sizeof(sys_externalschedlibname) - 1);
argv += 2; argv += 2;
argc -= 2; argc -= 2;
} }
else if (!strcmp(*argv, "-extraflags")) else if (!strcmp(*argv, "-extraflags"))
{ {
sys_extraflags = 1; sys_extraflags = 1;
strcpy(sys_extraflagsstring, argv[1]); strncpy(sys_extraflagsstring, argv[1],
sizeof(sys_extraflagsstring) - 1);
argv += 2; argv += 2;
argc -= 2; argc -= 2;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment