zsh-workers
 help / color / mirror / code / Atom feed
* zfsession function log out and segmentation fault
@ 1999-12-08  3:28 V. L. Simpson
  1999-12-08 21:24 ` Peter Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: V. L. Simpson @ 1999-12-08  3:28 UTC (permalink / raw)
  To: zsh-workers

While using zftp system with zsh-3.1.6-pws-10
zfsession returns default
zfsession -l kicks me out to my login prompt.

This happens with a straight login; i.e., reading my .zsh* files.

Logging in then zsh -f; initialize ftp system;zfanon host; zfsession -l 
returns:
"# segmentation fault zsh -f" (# is a numeric code, always different)

I haven't made the effort to set my options one by one as the bug report 
docs suggested but am more than willing if the developers need this.

Using Slackware Linux 7.0

Thanks for any insights and for the zshell,
Vance


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: zfsession function log out and segmentation fault
  1999-12-08  3:28 zfsession function log out and segmentation fault V. L. Simpson
@ 1999-12-08 21:24 ` Peter Stephenson
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Stephenson @ 1999-12-08 21:24 UTC (permalink / raw)
  To: zsh-workers

"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>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-12-08 21:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-08  3:28 zfsession function log out and segmentation fault V. L. Simpson
1999-12-08 21:24 ` Peter Stephenson

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).