mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 05:52:57 +00:00
history cleanup added
svn path=/trunk/; revision=836
This commit is contained in:
parent
61c3984818
commit
915ff9328d
3 changed files with 45 additions and 11 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue