Hi,

Ian Piumarta <[EMAIL PROTECTED]> writes:

> Hmm, Mac OS has a /usr/lib/readline that doesn't provide the above
> function.  (It looks like a wrapper around the BSD editline
> library.)

I did the below patch chunk to funcion/objects/_debug.c, which does
the trick for Tiger.  Whatever works for you should be fine, though.
Readline is an, ahem, interesting beast to work with.

> Methinks it's time to reconsider the whole readline dependency.

Perchance it is.

-- 
Michael FIG <[EMAIL PROTECTED]> //\
   http://michael.fig.org/    \//

@@ -511,6 +516,9 @@ static char *argumentGenerator(const char *text, int state)
 
 static char **debugCompletion(const char *text, int start, int end)
 {
+#ifndef RL_READLINE_VERSION
+# define rl_completion_matches completion_matches
+#endif
   return rl_completion_matches(text, start ? argumentGenerator : 
commandGenerator);
 }
 

_______________________________________________
fonc mailing list
[email protected]
http://vpri.org/mailman/listinfo/fonc

Reply via email to