diff options
Diffstat (limited to 'misc/mshell/files/patch-ae')
-rw-r--r-- | misc/mshell/files/patch-ae | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/misc/mshell/files/patch-ae b/misc/mshell/files/patch-ae deleted file mode 100644 index 1ef8f2694bb4..000000000000 --- a/misc/mshell/files/patch-ae +++ /dev/null @@ -1,30 +0,0 @@ ---- string.c~ Tue Aug 17 03:06:07 2004 -+++ string.c Tue Aug 17 03:06:28 2004 -@@ -4,6 +4,19 @@ - #define strchr index - #endif - -+char * strsave(char *); -+ -+char * -+gets (char *s) -+{ -+ char *x = fgets (s, WORDLEN, stdin); -+ if (x) { -+ char *p = strchr (x, '\n'); -+ if (p) -+ *p = 0; -+ } -+ return x; -+} - - /* function to find the position of sub_string in main_string - * ---------------------------------------------------------- */ -@@ -260,7 +273,6 @@ - /* if it has a multi-command delim, save rest for next time */ - #define MULTI_CMD_DELIM ',' - if (p = index(string, MULTI_CMD_DELIM)) { -- char *strsave(); - struct inp_link *l; - *p++ = EOS; - if ((l=getnode(sizeof(*l))) && (l->input=strsave(p))) |