Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh: Strange feature with 'jobs' commmand



> I haven't heard anything more, so I'm going to commit this version of
> the jobs-in-subshells patch.

I needed this to compile:

Index: Src/Modules/zpty.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Modules/zpty.c,v
retrieving revision 1.24
diff -u -r1.24 zpty.c
--- Src/Modules/zpty.c	9 Jul 2001 16:05:14 -0000	1.24
+++ Src/Modules/zpty.c	6 Jun 2002 05:44:56 -0000
@@ -294,7 +294,7 @@
 	/* This code copied from the clone module, except for getting *
 	 * the descriptor from get_pty() and duplicating it to 0/1/2. */
 
-	clearjobtab();
+	clearjobtab(0);
 	ppid = getppid();
 	mypid = getpid();
 #ifdef HAVE_SETSID



Messages sorted by: Reverse Date, Date, Thread, Author