history cleanup added

svn path=/trunk/; revision=836
This commit is contained in:
Paolo Pantaleo 1999-12-07 18:17:17 +00:00
parent 61c3984818
commit 915ff9328d
3 changed files with 45 additions and 11 deletions

View file

@ -1,4 +1,4 @@
/* $Id: cmd.c,v 1.15 1999/12/06 19:26:49 paolopan Exp $
/* $Id: cmd.c,v 1.16 1999/12/07 18:17:17 paolopan Exp $
*
* CMD.C - command-line interface.
*
@ -1025,6 +1025,7 @@ Initialize (int argc, char *argv[])
#ifdef FEATURE_HISTORY
/*initialize history*/
InitHistory();
#endif
@ -1085,6 +1086,11 @@ static VOID Cleanup (int argc, char *argv[])
FreeLastPath ();
#endif
#ifdef FEATURE_HISTORY
CleanHistory();
#endif
/* remove ctrl break handler */
#ifndef __REACTOS__
SetConsoleCtrlHandler (NULL, FALSE);