unexpose undefined part of the API, included strlcat
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14926 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
** History and file completion functions for editline library.
|
||||
*/
|
||||
#include <config.h>
|
||||
#include "editline.h"
|
||||
#include "edit_locl.h"
|
||||
|
||||
RCSID("$Id$");
|
||||
|
||||
@@ -160,7 +160,7 @@ rl_complete_filename(char *pathname, int *unique)
|
||||
memcpy(p, av[0] + len, j);
|
||||
asprintf(&new, "%s%s", pathname, p);
|
||||
if(new != NULL) {
|
||||
rl_add_slash(new, p);
|
||||
rl_add_slash(new, p, j + 1);
|
||||
free(new);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user