clean up the cvs import mess
nb, this doesnt mean the tree builds. its bed time
This commit is contained in:
parent
d78ad9c36b
commit
c3f3679ee8
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: history.c,v 1.17 2003/02/28 09:45:09 jmc Exp $ */
|
||||
/* $OpenBSD: history.c,v 1.18 2003/04/06 23:39:17 deraadt Exp $ */
|
||||
|
||||
/*
|
||||
* command history
|
||||
@ -93,8 +93,9 @@ c_fc(wp)
|
||||
if (strcmp(p, "-") == 0)
|
||||
sflag++;
|
||||
else {
|
||||
editor = str_nsave(p, strlen(p) + 4, ATEMP);
|
||||
strcat(editor, " $_");
|
||||
size_t len = strlen(p) + 4;
|
||||
editor = str_nsave(p, len, ATEMP);
|
||||
strlcat(editor, " $_", len);
|
||||
}
|
||||
break;
|
||||
case 'g': /* non-at&t ksh */
|
||||
|
Loading…
Reference in New Issue
Block a user