2012-01-20 18:45:26 +01:00
|
|
|
--- src/cmd/ksh93/sh/lex.c
|
2013-02-05 18:51:33 +01:00
|
|
|
+++ src/cmd/ksh93/sh/lex.c 2012-01-16 15:09:38.000000000 +0000
|
2016-10-12 13:36:28 +02:00
|
|
|
@@ -1893,6 +1893,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
|