diff options
| author | cvs2svn <cvs2svn@FreeBSD.org> | 1995-05-29 13:46:42 +0000 |
|---|---|---|
| committer | cvs2svn <cvs2svn@FreeBSD.org> | 1995-05-29 13:46:42 +0000 |
| commit | 444bcd3c2ed803274c8deafa2c3fa03f8a394653 (patch) | |
| tree | 297f74782436a0f973b6b89d60c10f399af9a135 /misc/mshell/files/patch-ae | |
| parent | 56cb039977e097ac910b2d719acd77ec3d5fb646 (diff) | |
Diffstat (limited to 'misc/mshell/files/patch-ae')
| -rw-r--r-- | misc/mshell/files/patch-ae | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/misc/mshell/files/patch-ae b/misc/mshell/files/patch-ae deleted file mode 100644 index 928f9c25b1d7..000000000000 --- a/misc/mshell/files/patch-ae +++ /dev/null @@ -1,22 +0,0 @@ -*** string.c.orig Fri Sep 23 18:34:06 1994 ---- string.c Fri Sep 23 18:50:39 1994 -*************** -*** 4,9 **** ---- 4,20 ---- - #define strchr index - #endif - -+ 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 - * ---------------------------------------------------------- */ |
