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:
@ -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
|
* command history
|
||||||
@ -1018,8 +1018,8 @@ histload(s, base, bytes)
|
|||||||
register int bytes;
|
register int bytes;
|
||||||
{
|
{
|
||||||
State state;
|
State state;
|
||||||
int lno;
|
int lno = 0;
|
||||||
unsigned char *line;
|
unsigned char *line = NULL;
|
||||||
|
|
||||||
for (state = shdr; bytes-- > 0; base++) {
|
for (state = shdr; bytes-- > 0; base++) {
|
||||||
switch (state) {
|
switch (state) {
|
||||||
|
Reference in New Issue
Block a user