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
85349354
Commit
85349354
authored
Dec 05, 2017
by
Hugh McMaster
Committed by
Alexandre Julliard
Dec 05, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reg: Define MAX_SUBKEY_LEN in reg.h.
Signed-off-by:
Hugh McMaster
<
hugh.mcmaster@outlook.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ecb9ce4b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
4 deletions
+1
-4
export.c
programs/reg/export.c
+0
-2
reg.c
programs/reg/reg.c
+0
-2
reg.h
programs/reg/reg.h
+1
-0
No files found.
programs/reg/export.c
View file @
85349354
...
...
@@ -236,8 +236,6 @@ static void export_key_name(HANDLE hFile, WCHAR *name)
heap_free
(
buf
);
}
#define MAX_SUBKEY_LEN 257
static
int
export_registry_data
(
HANDLE
hFile
,
HKEY
key
,
WCHAR
*
path
)
{
LONG
rc
;
...
...
programs/reg/reg.c
View file @
85349354
...
...
@@ -651,8 +651,6 @@ WCHAR *build_subkey_path(WCHAR *path, DWORD path_len, WCHAR *subkey_name, DWORD
static
unsigned
int
num_values_found
=
0
;
#define MAX_SUBKEY_LEN 257
static
int
query_value
(
HKEY
key
,
WCHAR
*
value_name
,
WCHAR
*
path
,
BOOL
recurse
)
{
LONG
rc
;
...
...
programs/reg/reg.h
View file @
85349354
...
...
@@ -22,6 +22,7 @@
#include "resource.h"
#define ARRAY_SIZE(A) (sizeof(A)/sizeof(*A))
#define MAX_SUBKEY_LEN 257
/* reg.c */
void
*
heap_xalloc
(
size_t
size
);
...
...
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