zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
To: zsh-workers@sunsite.auc.dk
Subject: Re: zfsession function log out and segmentation fault
Date: Wed, 08 Dec 1999 21:24:38 +0000	[thread overview]
Message-ID: <E11voZJ-0006u8-00.1999-12-08-21-24-16@mail3.svr.pol.co.uk> (raw)
In-Reply-To: ""V. L. Simpson""'s message of "Tue, 07 Dec 1999 21:28:02 CST." <14413.53314.881388.174064@godzilla.micronet>

"V. L. Simpson" wrote:
> While using zftp system with zsh-3.1.6-pws-10
> zfsession returns default
> zfsession -l kicks me out to my login prompt.

For some reason, I had more trouble with the session subcommand than any of
the others.  I shall write out a hundred times `fixed-size buffers without
tests are hostages to fortune'.

--- Src/Modules/zftp.c.sess	Fri Dec  3 18:47:07 1999
+++ Src/Modules/zftp.c	Wed Dec  8 21:10:48 1999
@@ -3076,7 +3076,7 @@
 static int
 bin_zftp(char *name, char **args, char *ops, int func)
 {
-    char fullname[11] = "zftp ";
+    char fullname[20] = "zftp ";
     char *cnam = *args++, *prefs, *ptr;
     Zftpcmd zptr;
     int n, ret = 0;

-- 
Peter Stephenson <pws@pwstephenson.fsnet.co.uk>


      reply	other threads:[~1999-12-08 21:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-08  3:28 V. L. Simpson
1999-12-08 21:24 ` Peter Stephenson [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=E11voZJ-0006u8-00.1999-12-08-21-24-16@mail3.svr.pol.co.uk \
    --to=pws@pwstephenson.fsnet.co.uk \
    --cc=zsh-workers@sunsite.auc.dk \
    /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).