pkgsrc-wip/mg-lsh/patches/patch-ab
Ben Collver fd819efc92 Initial import of mg-lsh-0.70, a DOS compatible command line interpreter.
lsh is a shell which resembles command interpreters of PC 
systems (such as 4-DOS, DR-DOS, FREE-DOS, MS-DOS, OPEN-DOS, N-DOS, 
PC-DOS, Q-DOS and others, which might be trademarks of their owners 
and which is hereby acknowledged). 

Many of these command interpreters are but poor copies of proper
unix shells. So you can think of lsh as a poor clone of a poor
clone.
2004-12-05 16:45:04 +00:00

22 lines
482 B
Text

$NetBSD: patch-ab,v 1.1.1.1 2004/12/05 16:45:04 bencollver Exp $
--- inp.c.orig Sat Jan 8 09:22:53 2000
+++ inp.c
@@ -118,7 +118,7 @@ readl (char *buf, int len)
int base = 0;
int dispindex = 0;
- static previous = 0;
+ static int previous = 0;
char quit = 0;
char tbuf[2 * INBUF];
@@ -402,7 +402,7 @@ readl (char *buf, int len)
int
readl (char *buf, int len)
{
- static oldc = 0;
+ static int oldc = 0;
int retval = 0;
int count = 0;
int quit = 0;