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
6d2cf023
Commit
6d2cf023
authored
Oct 06, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libport: Remove the lstat() implementation.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9df97676
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
39 deletions
+0
-39
configure
configure
+0
-1
configure.ac
configure.ac
+0
-1
config.h.in
include/config.h.in
+0
-3
port.h
include/wine/port.h
+0
-4
Makefile.in
libs/port/Makefile.in
+0
-1
lstat.c
libs/port/lstat.c
+0
-29
No files found.
configure
View file @
6d2cf023
...
...
@@ -17908,7 +17908,6 @@ for ac_func in \
getifaddrs
\
getrandom
\
kqueue
\
lstat
\
mach_continuous_time
\
pipe2
\
port_create
\
...
...
configure.ac
View file @
6d2cf023
...
...
@@ -2139,7 +2139,6 @@ AC_CHECK_FUNCS(\
getifaddrs \
getrandom \
kqueue \
lstat \
mach_continuous_time \
pipe2 \
port_create \
...
...
include/config.h.in
View file @
6d2cf023
...
...
@@ -348,9 +348,6 @@
/* Define to 1 if you have the <linux/videodev2.h> header file. */
#undef HAVE_LINUX_VIDEODEV2_H
/* Define to 1 if you have the `lstat' function. */
#undef HAVE_LSTAT
/* Define to 1 if you have the <lwp.h> header file. */
#undef HAVE_LWP_H
...
...
include/wine/port.h
View file @
6d2cf023
...
...
@@ -99,10 +99,6 @@ static inline const char *dlerror(void) { return "No dlopen support on Windows";
* Function definitions (only when using libwine_port)
*/
#ifndef HAVE_LSTAT
int
lstat
(
const
char
*
file_name
,
struct
stat
*
buf
);
#endif
/* HAVE_LSTAT */
#ifndef HAVE_READLINK
int
readlink
(
const
char
*
path
,
char
*
buf
,
size_t
size
);
#endif
/* HAVE_READLINK */
...
...
libs/port/Makefile.in
View file @
6d2cf023
STATICLIB
=
libwine_port.a
C_SRCS
=
\
lstat.c
\
readlink.c
\
symlink.c
libs/port/lstat.c
deleted
100644 → 0
View file @
9df97676
/*
* lstat function
*
* Copyright 1996 Alexandre Julliard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include "wine/port.h"
#ifndef HAVE_LSTAT
int
lstat
(
const
char
*
file_name
,
struct
stat
*
buf
)
{
return
stat
(
file_name
,
buf
);
}
#endif
/* HAVE_LSTAT */
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