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:
Love Hörnquist Åstrand
2005-04-24 18:57:16 +00:00
parent a6a96fbc46
commit 7e40ed10e4
7 changed files with 98 additions and 65 deletions

View File

@@ -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);
}
}