DXGL r928 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
Jump to navigation
Jump to search
Repository:
DXGL
Revision:
<
r927
|
r928
|
r929
>
Date:
22:34, 14 May 2019
Author:
admin
Status:
new
Tags:
Comment:
Fix signing the installer.
Modified paths:
/buildtool/buildtool.c
(modified) (
history
)
Diff
[
purge
]
Index: buildtool/buildtool.c
—
—
@@ -169,12 +169,6 @@
170
170
{
171
171
if (strstr(buffer, "//#define DXGLBETA")) strcpy(buffer, "#define DXGLBETA");
172
172
}
173
- findptr = strstr(buffer, "$SIGNTOOL");
174
- if (findptr)
175
- {
176
- if (nosign) strncpy(findptr, "0", 10);
177
- else strncpy(findptr, "1", 10);
178
- }
179
173
fputs(buffer,fileout);
180
174
}
181
175
fclose(filein);
—
—
@@ -240,6 +234,12 @@
241
235
#endif
242
236
#endif
243
237
}
238
+ findptr = strstr(buffer, "$SIGNTOOL");
239
+ if (findptr)
240
+ {
241
+ if (nosign) strncpy(findptr, "\"0\"", 10);
242
+ else strncpy(findptr, "\"1\"", 10);
243
+ }
244
244
if (DXGLBETA)
245
245
{
246
246
if(strstr(buffer,";!define _BETA")) strcpy(buffer,"!define _BETA\n");
Navigation menu
Personal tools
Log in
Namespaces
Special page
English
expanded
collapsed
Views
More
expanded
collapsed
Search
Navigation
Home
Main page
Recent changes
Random page
MediaWiki help
Introduction
Progress
Downloads
Source code
Build from source
AppDB
Bug reports
Forums
Tools
Special pages
Printable version