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
1c865933
Commit
1c865933
authored
Nov 04, 1998
by
Juergen Schmied
Committed by
Alexandre Julliard
Nov 04, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some compiler warnings.
parent
5c3e457b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
6 deletions
+15
-6
crtdll.c
misc/crtdll.c
+15
-6
No files found.
misc/crtdll.c
View file @
1c865933
...
...
@@ -145,13 +145,22 @@ DWORD __cdecl CRTDLL__GetMainArgs(LPDWORD argc,LPSTR **argv,
typedef
void
(
*
_INITTERMFUN
)();
/* fixme: move to header */
struct
find_t
{
unsigned
attrib
;
time_t
time_create
;
/* -1 when not avaiable */
time_t
time_access
;
/* -1 when not avaiable */
time_t
time_write
;
unsigned
long
size
;
/* fixme: 64 bit ??*/
char
name
[
260
];
};
/*********************************************************************
* _findfirst (CRTDLL.099)
*
* BUGS
* Unimplemented
*/
DWORD
__cdecl
CRTDLL__findfirst
(
LPCSTR
fname
,
struct
find_t
*
x2
)
DWORD
__cdecl
CRTDLL__findfirst
(
LPCSTR
fname
,
struct
find_t
*
x2
)
{
FIXME
(
crtdll
,
":(%s,%p): stub
\n
"
,
fname
,
x2
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
...
...
@@ -164,7 +173,7 @@ DWORD __cdecl CRTDLL__findfirst(LPCSTR fname,struct find_t* x2)
* BUGS
* Unimplemented
*/
INT32
__cdecl
CRTDLL__findnext
(
DWORD
hand
,
struct
find_t
*
x2
)
INT32
__cdecl
CRTDLL__findnext
(
DWORD
hand
,
struct
find_t
*
x2
)
{
FIXME
(
crtdll
,
":(%ld,%p): stub
\n
"
,
hand
,
x2
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
...
...
@@ -1658,7 +1667,7 @@ VOID __cdecl CRTDLL__splitpath(LPCSTR path, LPSTR drive, LPSTR directory, LPSTR
if
(
drive
)
{
*
drive
=
NULL
;
*
drive
=
0x00
;
if
(
drivechar
)
{
strncat
(
drive
,
path
,
drivechar
-
path
+
1
);
...
...
@@ -1667,7 +1676,7 @@ VOID __cdecl CRTDLL__splitpath(LPCSTR path, LPSTR drive, LPSTR directory, LPSTR
}
if
(
directory
)
{
*
directory
=
NULL
;
*
directory
=
0x00
;
if
(
dirchar
)
{
strncat
(
directory
,
path
,
dirchar
-
path
+
1
);
...
...
@@ -1676,13 +1685,13 @@ VOID __cdecl CRTDLL__splitpath(LPCSTR path, LPSTR drive, LPSTR directory, LPSTR
}
if
(
filename
)
{
*
filename
=
NULL
;
*
filename
=
0x00
;
if
(
namechar
)
{
strncat
(
filename
,
path
,
namechar
-
path
);
if
(
extension
)
{
*
extension
=
NULL
;
*
extension
=
0x00
;
strcat
(
extension
,
namechar
);
}
}
...
...
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