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
418c4ad7
Commit
418c4ad7
authored
Feb 04, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 04, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
attrib: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
25946b48
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
Makefile.in
programs/attrib/Makefile.in
+0
-1
attrib.c
programs/attrib/attrib.c
+3
-3
No files found.
programs/attrib/Makefile.in
View file @
418c4ad7
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
attrib.exe
IMPORTS
=
user32
...
...
programs/attrib/attrib.c
View file @
418c4ad7
...
...
@@ -33,7 +33,7 @@ static WCHAR *ATTRIB_LoadMessage(UINT id)
static
WCHAR
msg
[
MAXSTRING
];
if
(
!
LoadStringW
(
GetModuleHandleW
(
NULL
),
id
,
msg
,
ARRAY_SIZE
(
msg
)))
{
WINE_FIXME
(
"LoadString failed with %d
\n
"
,
GetLastError
());
WINE_FIXME
(
"LoadString failed with %
l
d
\n
"
,
GetLastError
());
lstrcpyW
(
msg
,
L"Failed!"
);
}
return
msg
;
...
...
@@ -75,7 +75,7 @@ static int WINAPIV ATTRIB_wprintf(const WCHAR *format, ...)
MAX_WRITECONSOLE_SIZE
/
sizeof
(
*
output_bufW
),
&
parms
);
va_end
(
parms
);
if
(
len
==
0
&&
GetLastError
()
!=
ERROR_NO_WORK_DONE
)
{
WINE_FIXME
(
"Could not format string: le=%u, fmt=%s
\n
"
,
GetLastError
(),
wine_dbgstr_w
(
format
));
WINE_FIXME
(
"Could not format string: le=%
l
u, fmt=%s
\n
"
,
GetLastError
(),
wine_dbgstr_w
(
format
));
return
0
;
}
...
...
@@ -143,7 +143,7 @@ static BOOL ATTRIB_processdirectory(const WCHAR *rootdir, const WCHAR *filespec,
WIN32_FIND_DATAW
fd
;
WCHAR
flags
[]
=
L" "
;
WINE_TRACE
(
"Processing dir '%s', spec '%s', %d,%
x,%
x
\n
"
,
WINE_TRACE
(
"Processing dir '%s', spec '%s', %d,%
lx,%l
x
\n
"
,
wine_dbgstr_w
(
rootdir
),
wine_dbgstr_w
(
filespec
),
recurse
,
attrib_set
,
attrib_clear
);
...
...
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