Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
David MacDonald
purr-data
Commits
5146f22b
Commit
5146f22b
authored
Dec 12, 2007
by
Miller Puckette
Browse files
update version number and add string overflow prot
parent
57376613
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/m_pd.h
View file @
5146f22b
...
...
@@ -11,7 +11,7 @@ extern "C" {
#define PD_MAJOR_VERSION 0
#define PD_MINOR_VERSION 41
#define PD_BUGFIX_VERSION 0
#define PD_TEST_VERSION "test0
8
"
#define PD_TEST_VERSION "test0
9
"
/* 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 */
...
...
src/s_main.c
View file @
5146f22b
...
...
@@ -822,14 +822,16 @@ int sys_argparse(int argc, char **argv)
else
if
(
!
strcmp
(
*
argv
,
"-schedlib"
))
{
sys_externalschedlib
=
1
;
strcpy
(
sys_externalschedlibname
,
argv
[
1
]);
strncpy
(
sys_externalschedlibname
,
argv
[
1
],
sizeof
(
sys_externalschedlibname
)
-
1
);
argv
+=
2
;
argc
-=
2
;
}
else
if
(
!
strcmp
(
*
argv
,
"-extraflags"
))
{
sys_extraflags
=
1
;
strcpy
(
sys_extraflagsstring
,
argv
[
1
]);
strncpy
(
sys_extraflagsstring
,
argv
[
1
],
sizeof
(
sys_extraflagsstring
)
-
1
);
argv
+=
2
;
argc
-=
2
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment