about summary refs log tree commit diff
path: root/Src/zsh.h
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2003-11-13 14:34:33 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2003-11-13 14:34:33 +0000
commita6a63a147e4e28a1ac700938c6e7694c6de97e5d (patch)
tree57e657de4f3d4e73cad31e6fad4dabfb2112d790 /Src/zsh.h
parent990f7b91df5152bb7b873b7b998615744cd5d8e4 (diff)
downloadzsh-a6a63a147e4e28a1ac700938c6e7694c6de97e5d.tar.gz
zsh-a6a63a147e4e28a1ac700938c6e7694c6de97e5d.tar.xz
zsh-a6a63a147e4e28a1ac700938c6e7694c6de97e5d.zip
19242: Make job table dynamically reallocatable.
Diffstat (limited to 'Src/zsh.h')
-rw-r--r--Src/zsh.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/Src/zsh.h b/Src/zsh.h
index 158717dea..f60fa5f45 100644
--- a/Src/zsh.h
+++ b/Src/zsh.h
@@ -684,10 +684,6 @@ struct eccstr {
 /* Definitions for job table and job control */
 /********************************************/
 
-#ifdef NEED_LINUX_TASKS_H
-#include <linux/tasks.h>
-#endif
-
 /* entry in the job table */
 
 struct job {
@@ -731,6 +727,9 @@ struct timeinfo {
 
 #define JOBTEXTSIZE 80
 
+/* Size to initialise the job table to, and to increment it by when needed. */
+#define MAXJOBS_ALLOC	(50)
+
 /* node in job process lists */
 
 struct process {