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
ea5d653f
Commit
ea5d653f
authored
Oct 09, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Oct 10, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regedit: Add support for 'regedit /E -', to export the registry to stdout.
parent
09641eed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
regproc.c
programs/regedit/regproc.c
+12
-5
No files found.
programs/regedit/regproc.c
View file @
ea5d653f
...
...
@@ -832,11 +832,18 @@ static void export_hkey(FILE *file, HKEY key,
*/
static
FILE
*
REGPROC_open_export_file
(
CHAR
*
file_name
)
{
FILE
*
file
=
fopen
(
file_name
,
"w"
);
if
(
!
file
)
{
perror
(
""
);
fprintf
(
stderr
,
"%s: Can't open file
\"
%s
\"\n
"
,
getAppName
(),
file_name
);
exit
(
1
);
FILE
*
file
;
if
(
strcmp
(
file_name
,
"-"
)
==
0
)
file
=
stdout
;
else
{
file
=
fopen
(
file_name
,
"w"
);
if
(
!
file
)
{
perror
(
""
);
fprintf
(
stderr
,
"%s: Can't open file
\"
%s
\"\n
"
,
getAppName
(),
file_name
);
exit
(
1
);
}
}
fputs
(
"REGEDIT4
\n
"
,
file
);
return
file
;
...
...
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