Import OpenBSD source with the "new" command line as well,

in order to be able to provide a MirBSD release which bases
upon a fairly current OpenBSD base source code tree deemed
stable enough.
This commit is contained in:
tg 2003-04-15 16:43:40 +00:00
parent 485fcb1158
commit 93aa08df64

View File

@ -1,4 +1,4 @@
/* $OpenBSD: history.c,v 1.18 2003/04/06 23:39:17 deraadt Exp $ */
/* $OpenBSD: history.c,v 1.19 2003/04/15 08:35:34 deraadt Exp $ */
/*
* command history
@ -1018,8 +1018,8 @@ histload(s, base, bytes)
register int bytes;
{
State state;
int lno;
unsigned char *line;
int lno = 0;
unsigned char *line = NULL;
for (state = shdr; bytes-- > 0; base++) {
switch (state) {