Package: timps
Version: 0.10-1
Tags: patch

Our automated buildd log filter[1] detected a problem that will cause
your package to segfault on architectures where the size of a pointer is
greater than the size of an integer, such as ia64.

This is due to using the deprecated completion_matches() function.
>From /usr/include/readline/readline.h:

#if 0
/* Backwards compatibility (compat.c).  These will go away sometime. */
...
extern char **completion_matches PARAMS((char *, rl_compentry_func_t *));
extern char *username_completion_function PARAMS((const char *, int));
extern char *filename_completion_function PARAMS((const char *, int));
#endif

It looks like timps should be using rl_completion_matches() instead.

[1]http://people.debian.org/~dannf/check-implicit-pointer-functions


diff -urN timps-0.10/debian/changelog timps-0.10.dannf/debian/changelog
--- timps-0.10/debian/changelog 2005-05-27 15:29:50.000000000 -0600
+++ timps-0.10.dannf/debian/changelog   2005-05-27 15:27:59.000000000 -0600
@@ -1,3 +1,9 @@
+timps (0.10-1dannf0) unstable; urgency=low
+
+  * Test implicitly converted pointer
+
+ -- dann frazier <[EMAIL PROTECTED]>  Fri, 27 May 2005 15:27:36 -0600
+
 timps (0.10-1) unstable; urgency=low
 
   * Initial Release. Closes: #310937.
diff -urN timps-0.10/modules/nafconsole/nafconsole.c 
timps-0.10.dannf/modules/nafconsole/nafconsole.c
--- timps-0.10/modules/nafconsole/nafconsole.c  2005-04-04 13:03:55.000000000 
-0600
+++ timps-0.10.dannf/modules/nafconsole/nafconsole.c    2005-05-27 
15:27:31.000000000 -0600
@@ -502,7 +502,7 @@
        if (start != 0)
                return NULL;
 
-       return completion_matches(text, cmdgenerator);
+       return rl_completion_matches(text, cmdgenerator);
 }
 
 static char *stripwhite(char *string)

--- Begin Message ---
Function `completion_matches' implicitly converted to pointer at 
nafconsole.c:505

--- End Message ---

Reply via email to