rc

[fork] interactive rc shell
Log | Files | Refs | README | LICENSE

commit 279e7fc70338626ed540163afa7e1450ae4ce866
parent d5cfcd08cbc2ad79d8d7c73bb033a2198cbb9cce
Author: tgoodwin <tgoodwin>
Date:   Wed,  8 Jul 1998 16:59:58 +0000

don't declare umask, but do include sys/stat.h
better support for addons

Diffstat:
Mbuiltins.c | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/builtins.c b/builtins.c @@ -10,15 +10,14 @@ #include "rc.h" #include <sys/ioctl.h> +#include <sys/stat.h> #include <setjmp.h> #include <errno.h> -#include "jbwrap.h" -#include "sigmsgs.h" #include "addon.h" +#include "jbwrap.h" #include "rlimit.h" - -extern int umask(int); +#include "sigmsgs.h" static void b_break(char **), b_cd(char **), b_eval(char **), b_exit(char **), b_newpgrp(char **), b_return(char **), b_shift(char **), b_umask(char **), @@ -55,7 +54,9 @@ static struct { { b_wait, "wait" }, { b_whatis, "whatis" }, { b_dot, "." }, +#ifdef ADDONS ADDONS +#endif }; extern builtin_t *isbuiltin(char *s) {