Rebase against 3e61c7127ed7eb764a8b308fd8897cbc26a93a4a

This commit is contained in:
Alistair Leslie-Hughes
2019-03-19 08:43:30 +11:00
parent 18e878bc40
commit 8e6af31b99
11 changed files with 300 additions and 218 deletions

View File

@@ -1,4 +1,4 @@
From 58c4900ecbdb4dbf745c9af78c040d2cfdcff288 Mon Sep 17 00:00:00 2001
From 51bdea50efa6951b86a91236c57fb8a95737d79d Mon Sep 17 00:00:00 2001
From: "Erich E. Hoover" <erich.e.hoover@gmail.com>
Date: Tue, 19 Aug 2014 22:10:49 -0600
Subject: [PATCH] ntdll: Implement retrieving DOS attributes in
@@ -7,14 +7,14 @@ Subject: [PATCH] ntdll: Implement retrieving DOS attributes in
---
configure.ac | 12 ++++++++++++
dlls/ntdll/file.c | 22 +++++++++++++++++++++-
include/wine/port.h | 20 ++++++++++++++++++++
include/wine/port.h | 8 ++++++++
libs/port/Makefile.in | 3 ++-
libs/port/xattr.c | 39 +++++++++++++++++++++++++++++++++++++++
5 files changed, 94 insertions(+), 2 deletions(-)
5 files changed, 82 insertions(+), 2 deletions(-)
create mode 100644 libs/port/xattr.c
diff --git a/configure.ac b/configure.ac
index 5c4e6fd..9e0dcf0 100644
index 4967604..375d1d3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -84,6 +84,7 @@ AC_ARG_WITH(udev, AS_HELP_STRING([--without-udev],[do not use udev (plug an
@@ -25,7 +25,7 @@ index 5c4e6fd..9e0dcf0 100644
AC_ARG_WITH(xcomposite,AS_HELP_STRING([--without-xcomposite],[do not use the Xcomposite extension]),
[if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi])
AC_ARG_WITH(xcursor, AS_HELP_STRING([--without-xcursor],[do not use the Xcursor extension]),
@@ -703,6 +704,17 @@ AC_CHECK_HEADERS([libprocstat.h],,,
@@ -695,6 +696,17 @@ AC_CHECK_HEADERS([libprocstat.h],,,
#include <sys/socket.h>
#endif])
@@ -44,7 +44,7 @@ index 5c4e6fd..9e0dcf0 100644
AC_SUBST(DLLFLAGS,"-D_REENTRANT")
diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c
index d0aaadf..27d2ce0 100644
index e8775a3..ed25182 100644
--- a/dlls/ntdll/file.c
+++ b/dlls/ntdll/file.c
@@ -122,6 +122,22 @@ mode_t FILE_umask = 0;
@@ -89,25 +89,13 @@ index d0aaadf..27d2ce0 100644
}
diff --git a/include/wine/port.h b/include/wine/port.h
index 2f6e9eb..902d674 100644
index d23e2b0..2be2afe 100644
--- a/include/wine/port.h
+++ b/include/wine/port.h
@@ -335,6 +335,26 @@ int usleep (unsigned int useconds);
@@ -335,6 +335,14 @@ int usleep (unsigned int useconds);
extern int mkstemps(char *template, int suffix_len);
+/* Process creation flags */
+#ifndef _P_WAIT
+# define _P_WAIT 0
+# define _P_NOWAIT 1
+# define _P_OVERLAY 2
+# define _P_NOWAITO 3
+# define _P_DETACH 4
+#endif
+#ifndef HAVE__SPAWNVP
+extern int _spawnvp(int mode, const char *cmdname, const char * const argv[]);
+#endif
+
+/* Extended attribute functions */
+
+#ifndef XATTR_USER_PREFIX