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
826ff133
Commit
826ff133
authored
Jan 06, 2004
by
Francois Gouget
Committed by
Alexandre Julliard
Jan 06, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve error reporting.
parent
b3130b9f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
winemenubuilder.c
programs/winemenubuilder/winemenubuilder.c
+8
-1
No files found.
programs/winemenubuilder/winemenubuilder.c
View file @
826ff133
...
...
@@ -581,6 +581,7 @@ static int fork_and_wait( char *linker, char *link_name, char *path,
{
int
pos
=
0
;
const
char
*
argv
[
20
];
int
retcode
;
WINE_TRACE
(
"linker app='%s' link='%s' mode=%s "
"path='%s' args='%s' icon='%s' workdir='%s' descr='%s'
\n
"
,
...
...
@@ -615,7 +616,10 @@ static int fork_and_wait( char *linker, char *link_name, char *path,
}
argv
[
pos
]
=
NULL
;
return
spawnvp
(
_P_WAIT
,
linker
,
argv
);
retcode
=
spawnvp
(
_P_WAIT
,
linker
,
argv
);
if
(
retcode
!=
0
)
WINE_ERR
(
"%s returned %d
\n
"
,
linker
,
retcode
);
return
retcode
;
}
/* write the name of the ShellLinker into the buffer provided */
...
...
@@ -854,7 +858,10 @@ static BOOL Process_Link( LPWSTR linkname, BOOL bAgain )
r
=
CoInitialize
(
NULL
);
if
(
FAILED
(
r
)
)
{
WINE_ERR
(
"CoInitialize failed
\n
"
);
return
1
;
}
r
=
CoCreateInstance
(
&
CLSID_ShellLink
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_IShellLink
,
(
LPVOID
*
)
&
sl
);
...
...
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