about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2004-03-03 15:34:29 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2004-03-03 15:34:29 +0000
commit3c04f95a333abf98379ca2ef30a29fe50c37ad7a (patch)
treeeb0128de7d010e4755a95ab5e96b82777becd873
parent0b787b5da25615fff4f41a1101a42f1ab142dcd4 (diff)
downloadzsh-3c04f95a333abf98379ca2ef30a29fe50c37ad7a.tar.gz
zsh-3c04f95a333abf98379ca2ef30a29fe50c37ad7a.tar.xz
zsh-3c04f95a333abf98379ca2ef30a29fe50c37ad7a.zip
19528: fix error if neither select nor poll available
-rw-r--r--ChangeLog3
-rw-r--r--Src/Modules/zselect.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 49356ab94..9efdd8d11 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,9 @@
 
 2004-03-03  Peter Stephenson  <pws@csr.com>
 
+	* 19528: Src/Modules/zselect.c: missing argument when neither
+	select nor poll was available.
+
 	* unposted: Config/version.mk: zsh 4.2.0-pre-2.
 
 	* 19523: Src/signames2.awk: attempt to work around awk
diff --git a/Src/Modules/zselect.c b/Src/Modules/zselect.c
index 91c4ee78f..1e6753263 100644
--- a/Src/Modules/zselect.c
+++ b/Src/Modules/zselect.c
@@ -265,7 +265,7 @@ bin_zselect(char *nam, char **args, Options ops, int func)
 #else
     /* TODO: use poll */
     zerrnam(nam, "your system does not implement the select system call.",
-	    NULL, );
+	    NULL, 0);
     return 2;
 #endif
 }