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
27bb311d
Commit
27bb311d
authored
Nov 29, 2000
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added implementation of lstat to port.c.
parent
0a5d9ef2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
21 additions
and
0 deletions
+21
-0
configure
configure
+0
-0
configure.in
configure.in
+1
-0
file.c
files/file.c
+1
-0
config.h.in
include/config.h.in
+3
-0
port.h
include/wine/port.h
+4
-0
port.c
library/port.c
+11
-0
client.c
scheduler/client.c
+1
-0
No files found.
configure
View file @
27bb311d
This diff is collapsed.
Click to expand it.
configure.in
View file @
27bb311d
...
...
@@ -739,6 +739,7 @@ AC_CHECK_FUNCS(\
getservbyport \
getsockopt \
inet_network \
lstat \
memmove \
mmap \
rfork \
...
...
files/file.c
View file @
27bb311d
...
...
@@ -35,6 +35,7 @@
#include "windef.h"
#include "winbase.h"
#include "wine/winbase16.h"
#include "wine/port.h"
#include "drive.h"
#include "file.h"
#include "global.h"
...
...
include/config.h.in
View file @
27bb311d
...
...
@@ -209,6 +209,9 @@
/* Define if you have the inet_network function. */
#undef HAVE_INET_NETWORK
/* Define if you have the lstat function. */
#undef HAVE_LSTAT
/* Define if you have the memmove function. */
#undef HAVE_MEMMOVE
...
...
include/wine/port.h
View file @
27bb311d
...
...
@@ -109,4 +109,8 @@ int strcasecmp(const char *str1, const char *str2);
int
usleep
(
unsigned
int
useconds
);
#endif
/* !defined(HAVE_USLEEP) */
#ifndef HAVE_LSTAT
int
lstat
(
const
char
*
file_name
,
struct
stat
*
buf
);
#endif
/* HAVE_LSTAT */
#endif
/* !defined(__WINE_WINE_PORT_H) */
library/port.c
View file @
27bb311d
...
...
@@ -361,6 +361,17 @@ int statfs(const char *name, struct statfs *info)
/***********************************************************************
* lstat
*/
#ifndef HAVE_LSTAT
int
lstat
(
const
char
*
file_name
,
struct
stat
*
buf
)
{
return
stat
(
file_name
,
buf
);
}
#endif
/* HAVE_LSTAT */
/***********************************************************************
* wine_anon_mmap
*
* Portable wrapper for anonymous mmaps
...
...
scheduler/client.c
View file @
27bb311d
...
...
@@ -30,6 +30,7 @@
#include <unistd.h>
#include <stdarg.h>
#include "wine/port.h"
#include "process.h"
#include "thread.h"
#include "server.h"
...
...
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