Skip to content

Commit

Permalink
Update to work with the latest PIPS version 1.6
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
azav committed Sep 26, 2009
1 parent 6ed425d commit 92d4a6d
Showing 1 changed file with 0 additions and 41 deletions.
41 changes: 0 additions & 41 deletions symbian/missing-pips.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,41 +8,12 @@ char **environ = 0;
typedef void (*sighandler_t)(int);
sighandler_t signal(int signum, sighandler_t handler);

int sigfillset(sigset_t *set);
int sigdelset(sigset_t *set, int signum);
int sigprocmask(int how, const sigset_t *set, sigset_t *oldset);
int raise(int sig);
int kill(pid_t pid, int sig);
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 pthread_kill(pthread_t thread, int sig);

sighandler_t signal(int signum, sighandler_t handler)
{
return (sighandler_t)0;
}

int sigfillset(sigset_t *set)
{
return 0;
}

int sigdelset(sigset_t *set, int signum)
{
return 0;
}

int sigprocmask(int how, const sigset_t *set, sigset_t *oldset)
{
return 0;
}

int raise(int sig)
{
return 0;
}

int kill(pid_t pid, int sig)
{
return 0;
Expand All @@ -69,18 +40,6 @@ int pthread_kill(pthread_t thread, int sig)
}


int sigmask(int signum) {
return -1;
}

int sigblock(int mask) {
return -1;
}

int sigsetmask(int mask) {
return -1;
}

sighandler_t posix_signal(int signum, sighandler_t handler)
{
return signal((signum),(handler));
Expand Down

0 comments on commit 92d4a6d

Please sign in to comment.