zsh-workers
 help / color / mirror / code / Atom feed
From: Zoltan Hidvegi  <hzoli@cs.elte.hu>
To: P.Stephenson@swansea.ac.uk
Subject: Re: SEGV on here-documents
Date: Tue, 5 Sep 1995 19:36:35 +0200 (MET DST)	[thread overview]
Message-ID: <199509051736.TAA08833@bolyai.cs.elte.hu> (raw)
In-Reply-To: <7102.9509051512@pyro.swan.ac.uk> from "P.Stephenson@swansea.ac.uk" at Sep 5, 95 04:12:35 pm

Peter Stephenson wrote:
> hzoli@cs.elte.hu 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


      reply	other threads:[~1995-09-05 20:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-09-04 18:36 Zoltan Hidvegi
1995-09-05 15:12 ` P.Stephenson
1995-09-05 17:36   ` Zoltan Hidvegi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199509051736.TAA08833@bolyai.cs.elte.hu \
    --to=hzoli@cs.elte.hu \
    --cc=P.Stephenson@swansea.ac.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).