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
1b9535af
Commit
1b9535af
authored
Sep 22, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makedep: Update dependencies even with no source files.
parent
dea8c6a9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
makedep.c
tools/makedep.c
+5
-2
No files found.
tools/makedep.c
View file @
1b9535af
...
@@ -710,9 +710,12 @@ static void output_dependencies(void)
...
@@ -710,9 +710,12 @@ static void output_dependencies(void)
if
(
Separator
&&
((
file
=
fopen
(
OutputFileName
,
"r+"
))))
if
(
Separator
&&
((
file
=
fopen
(
OutputFileName
,
"r+"
))))
{
{
while
((
buffer
=
get_line
(
file
)))
while
((
buffer
=
get_line
(
file
)))
if
(
!
strncmp
(
buffer
,
Separator
,
strlen
(
Separator
)
))
break
;
{
if
(
strncmp
(
buffer
,
Separator
,
strlen
(
Separator
)
))
continue
;
ftruncate
(
fileno
(
file
),
ftell
(
file
)
);
ftruncate
(
fileno
(
file
),
ftell
(
file
)
);
fseek
(
file
,
0L
,
SEEK_END
);
fseek
(
file
,
0L
,
SEEK_END
);
break
;
}
}
}
if
(
!
file
)
if
(
!
file
)
{
{
...
@@ -815,6 +818,6 @@ int main( int argc, char *argv[] )
...
@@ -815,6 +818,6 @@ int main( int argc, char *argv[] )
parse_file
(
pFile
,
1
);
parse_file
(
pFile
,
1
);
}
}
LIST_FOR_EACH_ENTRY
(
pFile
,
&
includes
,
INCL_FILE
,
entry
)
parse_file
(
pFile
,
0
);
LIST_FOR_EACH_ENTRY
(
pFile
,
&
includes
,
INCL_FILE
,
entry
)
parse_file
(
pFile
,
0
);
if
(
!
list_empty
(
&
sources
))
output_dependencies
();
output_dependencies
();
return
0
;
return
0
;
}
}
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