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
300240bf
Commit
300240bf
authored
Mar 15, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the correct file name in the "generated automatically" comments.
parent
d4cf45e3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
5 deletions
+9
-5
build.h
tools/winebuild/build.h
+1
-0
main.c
tools/winebuild/main.c
+1
-1
spec32.c
tools/winebuild/spec32.c
+5
-2
utils.c
tools/winebuild/utils.c
+2
-2
No files found.
tools/winebuild/build.h
View file @
300240bf
...
...
@@ -202,6 +202,7 @@ extern int display_warnings;
extern
int
kill_at
;
extern
char
*
input_file_name
;
extern
char
*
spec_file_name
;
extern
const
char
*
output_file_name
;
extern
char
**
debug_channels
;
extern
char
**
lib_path
;
...
...
tools/winebuild/main.c
View file @
300240bf
...
...
@@ -58,6 +58,7 @@ char **debug_channels = NULL;
char
**
lib_path
=
NULL
;
char
*
input_file_name
=
NULL
;
char
*
spec_file_name
=
NULL
;
const
char
*
output_file_name
=
NULL
;
char
*
ld_command
=
"ld"
;
...
...
@@ -67,7 +68,6 @@ static FILE *output_file;
static
const
char
*
current_src_dir
;
static
int
nb_res_files
;
static
char
**
res_files
;
static
char
*
spec_file_name
;
/* execution mode */
enum
exec_mode_values
...
...
tools/winebuild/spec32.c
View file @
300240bf
...
...
@@ -845,8 +845,11 @@ void BuildDef32File( FILE *outfile, DLLSPEC *spec )
const
char
*
name
;
int
i
;
fprintf
(
outfile
,
"; File generated automatically from %s; do not edit!
\n\n
"
,
input_file_name
);
if
(
spec_file_name
)
fprintf
(
outfile
,
"; File generated automatically from %s; do not edit!
\n\n
"
,
spec_file_name
);
else
fprintf
(
outfile
,
"; File generated automatically; do not edit!
\n\n
"
);
fprintf
(
outfile
,
"LIBRARY %s
\n\n
"
,
spec
->
file_name
);
...
...
tools/winebuild/utils.c
View file @
300240bf
...
...
@@ -142,9 +142,9 @@ void warning( const char *msg, ... )
/* output a standard header for generated files */
void
output_standard_file_header
(
FILE
*
outfile
)
{
if
(
input
_file_name
)
if
(
spec
_file_name
)
fprintf
(
outfile
,
"/* File generated automatically from %s; do not edit! */
\n
"
,
input
_file_name
);
spec
_file_name
);
else
fprintf
(
outfile
,
"/* File generated automatically; do not edit! */
\n
"
);
fprintf
(
outfile
,
...
...
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