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
c5f00063
Commit
c5f00063
authored
Jul 01, 2014
by
Vincent Povirk
Committed by
Alexandre Julliard
Jul 02, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebrowser: Add traces for file uri conversion steps.
parent
ee17213f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
main.c
programs/winebrowser/main.c
+5
-0
No files found.
programs/winebrowser/main.c
View file @
c5f00063
...
...
@@ -383,9 +383,12 @@ static IUri *convert_file_uri(IUri *uri)
if
(
FAILED
(
hres
))
return
NULL
;
WINE_TRACE
(
"Windows path: %s
\n
"
,
wine_dbgstr_w
(
filename
));
unixpath
=
wine_get_unix_file_name_ptr
(
filename
);
SysFreeString
(
filename
);
if
(
unixpath
&&
stat
(
unixpath
,
&
dummy
)
>=
0
)
{
WINE_TRACE
(
"Unix path: %s
\n
"
,
wine_dbgstr_a
(
unixpath
));
new_path
=
encode_unix_path
(
unixpath
);
HeapFree
(
GetProcessHeap
(),
0
,
unixpath
);
}
else
{
...
...
@@ -394,6 +397,8 @@ static IUri *convert_file_uri(IUri *uri)
new_path
=
NULL
;
}
WINE_TRACE
(
"New path: %s
\n
"
,
wine_dbgstr_w
(
new_path
));
hres
=
CreateIUriBuilder
(
uri
,
0
,
0
,
&
uri_builder
);
if
(
SUCCEEDED
(
hres
)
&&
new_path
)
hres
=
IUriBuilder_SetPath
(
uri_builder
,
new_path
);
...
...
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