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
da7c2f5f
Commit
da7c2f5f
authored
Feb 13, 2007
by
Marcus Meissner
Committed by
Alexandre Julliard
Feb 14, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bin2res: Use fstat, handle errors.
parent
9a3a1448
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
bin2res.c
tools/bin2res.c
+4
-1
No files found.
tools/bin2res.c
View file @
da7c2f5f
...
@@ -149,7 +149,10 @@ static int process_resources(const char* input_file_name, const char* specific_f
...
@@ -149,7 +149,10 @@ static int process_resources(const char* input_file_name, const char* specific_f
int
fd
,
c
;
int
fd
,
c
;
if
(
!
(
fin
=
fopen
(
input_file_name
,
"r"
)))
return
0
;
if
(
!
(
fin
=
fopen
(
input_file_name
,
"r"
)))
return
0
;
if
(
stat
(
input_file_name
,
&
st
)
<
0
)
return
0
;
if
(
fstat
(
fileno
(
fin
),
&
st
)
<
0
)
{
fclose
(
fin
);
return
0
;
}
rc_last_update
=
st
.
st_mtime
;
rc_last_update
=
st
.
st_mtime
;
if
(
inserting
)
if
(
inserting
)
...
...
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