about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Src/utils.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4ca317af6..86dd3168c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2006-10-19  Peter Stephenson  <pws@csr.com>
 
+	* unposted: Src/utils.c: EOF in ur-22885 should be WEOF.
+
 	* unposted: Completion/Unix/Command/_todo.sh: more places
 	where we complete priorities and contexts.
 
diff --git a/Src/utils.c b/Src/utils.c
index 3658e615f..ed4abe3f1 100644
--- a/Src/utils.c
+++ b/Src/utils.c
@@ -4015,7 +4015,7 @@ mb_metacharlenconv(const char *s, wint_t *wcp)
      */
     if (itok(*s)) {
 	if (wcp)
-	    *wcp = EOF;
+	    *wcp = WEOF;
 	return 1;
     }