mirror of
https://github.com/yasm/yasm
synced 2026-08-26 22:26:05 -04:00
* genmodule.c (main): Make sure len is initialized to 0.
* genmodule.vcproj: Ensure FILTERMODE is defined for Debug configuration. Patch by: Masaru Tsuchiyama <tsuchiyama@asahi-net.email.ne.jp> svn path=/trunk/yasm/; revision=1237
This commit is contained in:
parent
b32ee0152f
commit
ad57a0ccab
2 changed files with 2 additions and 1 deletions
|
|
@ -19,7 +19,7 @@
|
|||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;FILTERMODE"
|
||||
MinimalRebuild="TRUE"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="5"
|
||||
|
|
|
|||
|
|
@ -99,6 +99,7 @@ main(int argc, char *argv[])
|
|||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
len = 0;
|
||||
while (fgets(str, MAXLINE, in)) {
|
||||
if (strncmp(str, "MODULES_", 8) == 0) {
|
||||
len = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue