2012-01-20 18:45:26 +01:00
|
|
|
--- src/cmd/ksh93/sh/lex.c
|
|
|
|
+++ src/cmd/ksh93/sh/lex.c 2012-01-16 16:09:37.624771155 +0100
|
2012-03-15 13:44:41 +01:00
|
|
|
@@ -1874,6 +1874,8 @@ static int here_copy(Lex_t *lp,register
|
2011-09-02 14:19:30 +02:00
|
|
|
sfputc(sp,'\\');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
+ if (LEN < 1)
|
|
|
|
+ LEN = 1;
|
2012-01-20 18:45:26 +01:00
|
|
|
bufp = fcseek(-LEN);
|
2011-09-02 14:19:30 +02:00
|
|
|
}
|
|
|
|
else
|