Re: Using native spawnvp if possible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 23 Sep 2003, Vincent [ISO-8859-1] B?ron wrote:

> Your patch is missing :)

Fixed.  Thanks!

-- 
Regards,
Pavel Roskin
--- configure.ac
+++ configure.ac
@@ -971,6 +971,7 @@
 	settimeofday \
 	sigaltstack \
 	snprintf \
+	spawnvp \
 	statfs \
 	strcasecmp \
 	strerror \
--- include/wine/port.h
+++ include/wine/port.h
@@ -276,7 +276,9 @@
 # define _P_NOWAITO 3
 # define _P_DETACH  4
 #endif
+#ifndef HAVE_SPAWNVP
 extern int spawnvp(int mode, const char *cmdname, char *const argv[]);
+#endif
 
 /* Interlocked functions */
 
--- libs/port/spawn.c
+++ libs/port/spawn.c
@@ -31,6 +31,7 @@
 # include <unistd.h>
 #endif
 
+#ifndef HAVE_SPAWNVP
 int spawnvp(int mode, const char *cmdname, char *const argv[])
 {
 #ifndef HAVE__SPAWNVP
@@ -72,3 +73,4 @@ int spawnvp(int mode, const char *cmdnam
     return _spawnvp(mode, cmdname, argv);
 #endif  /* HAVE__SPAWNVP */
 }
+#endif  /* HAVE_SPAWNVP */

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux