Created execl stub as a missing PIPS function
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4e2141622f
commit
7ecbd56af4
@ -1097,9 +1097,7 @@ rb_proc_exec(const char *str)
|
|||||||
exit(status);
|
exit(status);
|
||||||
#else
|
#else
|
||||||
before_exec();
|
before_exec();
|
||||||
#ifndef __SYMBIAN32__
|
|
||||||
execl("/bin/sh", "sh", "-c", str, (char *)NULL);
|
execl("/bin/sh", "sh", "-c", str, (char *)NULL);
|
||||||
#endif
|
|
||||||
preserving_errno(after_exec());
|
preserving_errno(after_exec());
|
||||||
#endif
|
#endif
|
||||||
return -1;
|
return -1;
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
//#include "symbian.h"
|
|
||||||
#include <sys/signal.h>
|
#include <sys/signal.h>
|
||||||
#include <sys/resource.h>
|
#include <sys/resource.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
@ -15,6 +14,7 @@ int sigprocmask(int how, const sigset_t *set, sigset_t *oldset);
|
|||||||
int raise(int sig);
|
int raise(int sig);
|
||||||
int kill(pid_t pid, int sig);
|
int kill(pid_t pid, int sig);
|
||||||
int pthread_sigmask(int how, const sigset_t *set, sigset_t *oset);
|
int pthread_sigmask(int how, const sigset_t *set, sigset_t *oset);
|
||||||
|
int execl(const char *path, const char *arg0, ... /*, (char *)0 */);
|
||||||
int execv(const char *path, char *const argv[]);
|
int execv(const char *path, char *const argv[]);
|
||||||
int pthread_kill(pthread_t thread, int sig);
|
int pthread_kill(pthread_t thread, int sig);
|
||||||
|
|
||||||
@ -53,6 +53,11 @@ int pthread_sigmask(int how, const sigset_t *set, sigset_t *oset)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int execl(const char *path, const char *arg0, ...)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
int execv(const char *path, char *const argv[])
|
int execv(const char *path, char *const argv[])
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user