* core dump with case.
@ 1999-09-07 18:23 Tanaka Akira
0 siblings, 0 replies; 2+ messages in thread
From: Tanaka Akira @ 1999-09-07 18:23 UTC (permalink / raw)
To: zsh-workers
zsh dumps core with follows:
Z(2):akr@is27e1u11% Src/zsh -f
is27e1u11% f () { case a in; esac }
is27e1u11% f
zsh: segmentation fault (core dumped) Src/zsh -f
Z(2):akr@is27e1u11%
--
Tanaka Akira
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: core dump with case.
@ 1999-09-08 7:48 Sven Wischnowsky
0 siblings, 0 replies; 2+ messages in thread
From: Sven Wischnowsky @ 1999-09-08 7:48 UTC (permalink / raw)
To: zsh-workers
Tanaka Akira wrote:
> zsh dumps core with follows:
>
> Z(2):akr@is27e1u11% Src/zsh -f
> is27e1u11% f () { case a in; esac }
> is27e1u11% f
> zsh: segmentation fault (core dumped) Src/zsh -f
> Z(2):akr@is27e1u11%
My fault.
Bye
Sven
--- os/text.c Tue Sep 7 13:15:40 1999
+++ Src/text.c Wed Sep 8 09:47:11 1999
@@ -308,7 +308,7 @@
taddstr(*p++);
taddstr(" in");
tindent++;
- for (; *l; p++, l++) {
+ for (; l && *l; p++, l++) {
if (tnewlins)
taddnl();
else
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-09-08 7:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-09-07 18:23 core dump with case Tanaka Akira
1999-09-08 7:48 Sven Wischnowsky
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).