Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
8ab9a65b
Commit
8ab9a65b
authored
Apr 08, 2006
by
Marcus Meissner
Committed by
Alexandre Julliard
Apr 08, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Use fchmod() instead of doing system(chmod).
parent
208b0c2e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
output.c
tools/winedump/output.c
+1
-3
No files found.
tools/winedump/output.c
View file @
8ab9a65b
...
...
@@ -458,7 +458,6 @@ void output_makefile (void)
*/
void
output_install_script
(
void
)
{
char
cmd
[
128
];
FILE
*
install_file
=
open_file
(
OUTPUT_DLL_NAME
,
"_install"
,
"w"
);
if
(
VERBOSE
)
...
...
@@ -494,9 +493,8 @@ void output_install_script (void)
OUTPUT_DLL_NAME
,
OUTPUT_DLL_NAME
,
OUTPUT_DLL_NAME
,
OUTPUT_DLL_NAME
,
OUTPUT_DLL_NAME
,
OUTPUT_DLL_NAME
,
OUTPUT_DLL_NAME
,
OUTPUT_DLL_NAME
);
fchmod
(
fileno
(
install_file
),
0755
);
fclose
(
install_file
);
snprintf
(
cmd
,
sizeof
(
cmd
),
"chmod a+x %s_install"
,
OUTPUT_DLL_NAME
);
system
(
cmd
);
}
...
...
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