This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] cygwin process.h cleanup


I've just checked this in.

cgf

2002-06-10  Christopher Faylor  <cgf@redhat.com>

	* libc/include/process.h: Remove cygwin-only sexec* declarations.  Fix
	spawnve declaration.

Index: libc/include/process.h
===================================================================
RCS file: /cvs/uberbaum/newlib/libc/include/process.h,v
retrieving revision 1.3
diff -u -p -r1.3 process.h
--- libc/include/process.h	17 Sep 2001 21:30:58 -0000	1.3
+++ libc/include/process.h	11 Jun 2002 02:23:08 -0000
@@ -23,26 +23,9 @@ int spawnlp(int mode, const char *path, 
 int spawnlpe(int mode, const char *path, const char *argv0, ... /*, char * const *envp */);
 
 int spawnv(int mode, const char *path, const char * const *argv);
-int spawnve(int mode, const char *path, char * const *argv, const char * const *envp);
+int spawnve(int mode, const char *path, const char * const *argv, const char * const *envp);
 int spawnvp(int mode, const char *path, const char * const *argv);
 int spawnvpe(int mode, const char *path, const char * const *argv, const char * const *envp);
-
-#ifdef __CYGWIN__
-/* Secure exec() functions family */
-/* The first arg should really be a HANDLE which is a void *.  But we
-   can't include windows.h here so... */
-#include <sys/types.h>
-pid_t sexecl(void *, const char *path, const char *argv0, ...);
-pid_t sexecle(void *, const char *path, const char *argv0, ... /*, char * const *envp */);
-pid_t sexeclp(void *, const char *path, const char *argv0, ...);
-pid_t sexeclpe(void *, const char *path, const char *argv0, ... /*, char * const *envp */);
-
-pid_t sexecv(void *, const char *path, const char * const *argv);
-pid_t sexecve(void *, const char *path, const char * const *argv, const char * const *envp);
-pid_t sexecvp(void *, const char *path, const char * const *argv);
-pid_t sexecvpe(void *, const char *path, const char * const *argv, const char * const *envp);
-pid_t  getpid(void);
-#endif
 
 int cwait(int *, int, int);
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]