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
3fc3d06a
Commit
3fc3d06a
authored
May 07, 2002
by
Andreas Mohr
Committed by
Alexandre Julliard
May 07, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace DOSFS_GetFullName with wine_get_unix_file_name.
parent
f0b6b9a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
printdrv.c
dlls/gdi/printdrv.c
+6
-6
No files found.
dlls/gdi/printdrv.c
View file @
3fc3d06a
...
...
@@ -530,7 +530,7 @@ static int CreateSpoolFile(LPCSTR pszOutput)
}
else
{
DOS_FULL_NAME
fullName
;
char
buffer
[
MAX_PATH
]
;
TRACE
(
"Just assume it's a file
\n
"
);
...
...
@@ -538,12 +538,12 @@ static int CreateSpoolFile(LPCSTR pszOutput)
* The file name can be dos based, we have to find its
* Unix correspondant file name
*/
DOSFS_GetFullName
(
psCmdP
,
FALSE
,
&
fullName
);
wine_get_unix_file_name
(
psCmdP
,
buffer
,
sizeof
(
buffer
)
);
if
((
fd
=
open
(
fullName
.
long_name
,
O_CREAT
|
O_TRUNC
|
O_WRONLY
,
0600
))
<
0
)
if
((
fd
=
open
(
buffer
,
O_CREAT
|
O_TRUNC
|
O_WRONLY
,
0600
))
<
0
)
{
ERR
(
"Failed to create spool file
%s (
%s)
\n
"
,
fullName
.
long_name
,
strerror
(
errno
));
ERR
(
"Failed to create spool file
'%s' ('%s'). (error
%s)
\n
"
,
buffer
,
psCmdP
,
strerror
(
errno
));
}
}
return
fd
;
...
...
@@ -584,7 +584,7 @@ HPJOB16 WINAPI OpenJob16(LPCSTR lpOutput, LPCSTR lpTitle, HDC16 hDC)
{
int
fd
;
/* Try an create a spool file */
/* Try an
d
create a spool file */
fd
=
CreateSpoolFile
(
lpOutput
);
if
(
fd
>=
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