Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zfsession function log out and segmentation fault
- X-seq: zsh-workers 8955
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: zfsession function log out and segmentation fault
- Date: Wed, 08 Dec 1999 21:24:38 +0000
- In-reply-to: ""V. L. Simpson""'s message of "Tue, 07 Dec 1999 21:28:02 CST." <14413.53314.881388.174064@xxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
"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@xxxxxxxxxxxxxxxxxxxxxxxx>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author