Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
c6c95a02
Commit
c6c95a02
authored
Aug 18, 2017
by
Hugh McMaster
Committed by
Alexandre Julliard
Aug 20, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reg: Compile with msvcrt.
Signed-off-by:
Hugh McMaster
<
hugh.mcmaster@outlook.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3f0ebaee
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Makefile.in
programs/reg/Makefile.in
+1
-1
reg.c
programs/reg/reg.c
+2
-2
No files found.
programs/reg/Makefile.in
View file @
c6c95a02
MODULE
=
reg.exe
APPMODE
=
-mconsole
-municode
APPMODE
=
-mconsole
-municode
-mno-cygwin
IMPORTS
=
advapi32
DELAYIMPORTS
=
user32
...
...
programs/reg/reg.c
View file @
c6c95a02
...
...
@@ -284,8 +284,8 @@ static LPBYTE get_regdata(const WCHAR *data, DWORD reg_type, WCHAR separator, DW
{
LPWSTR
rest
;
unsigned
long
val
;
val
=
strtoulW
(
data
,
&
rest
,
(
tolowerW
(
data
[
1
])
==
'x'
)
?
16
:
10
);
if
(
*
rest
||
data
[
0
]
==
'-'
||
(
val
==
~
0u
&&
errno
==
ERANGE
)
||
val
>
~
0u
)
{
val
=
wcstoul
(
data
,
&
rest
,
(
tolowerW
(
data
[
1
])
==
'x'
)
?
16
:
10
);
if
(
*
rest
||
data
[
0
]
==
'-'
||
(
val
==
~
0u
&&
errno
==
ERANGE
))
{
output_message
(
STRING_MISSING_INTEGER
);
break
;
}
...
...
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