sync clog

This commit is contained in:
tg
2012-08-24 21:33:51 +00:00
parent e2d1f3bf99
commit e6ddeaa53d
3 changed files with 7 additions and 7 deletions

4
edit.c
View File

@ -28,7 +28,7 @@
#ifndef MKSH_NO_CMDLINE_EDITING
__RCSID("$MirOS: src/bin/mksh/edit.c,v 1.250 2012/08/24 21:15:40 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/edit.c,v 1.251 2012/08/24 21:33:49 tg Exp $");
/*
* in later versions we might use libtermcap for this, but since external
@ -2774,7 +2774,7 @@ do_complete(
*/
char *cp;
cp = ucstrchr(unescaped + 1, '/');
cp = strchr(unescaped + 1, '/');
*cp++ = 0;
cp = shf_smprintf("%s/%s", tilde(unescaped + 1), cp);
afree(unescaped, ATEMP);