Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: SEGV on here-documents
- X-seq: zsh-workers 360
- From: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- To: P.Stephenson@xxxxxxxxxxxxx
- Subject: Re: SEGV on here-documents
- Date: Tue, 5 Sep 1995 19:36:35 +0200 (MET DST)
- In-reply-to: <7102.9509051512@xxxxxxxxxxxxxxx> from "P.Stephenson@xxxxxxxxxxxxx" at Sep 5, 95 04:12:35 pm
- Sender: hzoli@xxxxxxxxxx
Peter Stephenson wrote:
> hzoli@xxxxxxxxxx wrote:
> > If a here-document contains a line longer than 255 characters, it causes SEGV
> > (not on all OS, eg. on Solaris it only produces a wrong output, but it causes
> > SEGV on elf-linux). I had no time to trace the bug but it may be related to
> > Peters input patches (in which case it is not reproducible with vanilla
> > beta10).
>
> Seems to works OK on 2.6-beta10 with my input patches for up to 365
> characters on OSF/1, but I'd like to hear more.
On OSF/1 it works for me as well. It seems that the bad thing happens
somewhere in gethere() in exec.c. Unfortunately I really have no time to
debug it now, I have to sysadm a large Unix network with 7 different OS and
I'll also continue my studies in the University and give some lectures
and that's a bit too much.
I looked at my rcs and I see that Peter's input patch changes only one line,
hgets() to ingets() so the problem is probably not in input.c.
Zoltan
Messages sorted by:
Reverse Date,
Date,
Thread,
Author