fix load/cmd_cache core dumping
authorminima <minima>
Fri, 11 Jan 2002 01:34:03 +0000 (01:34 +0000)
committerminima <minima>
Fri, 11 Jan 2002 01:34:03 +0000 (01:34 +0000)
Changes
perl/DXCommandmode.pm

diff --git a/Changes b/Changes
index cfa97c623fec623e76431961853139829f9b2660..e5ebe33ee45e0e32f193c2372d9407b47cdacbe8 100644 (file)
--- a/Changes
+++ b/Changes
@@ -8,6 +8,7 @@ to doubt this).
 have to make the C client again) and you will need to restart.
 5. It appears that it IS possible to set non blocking on M$ you just need to
 know how.
+6. Fix problem with load/cmd_cache core dumping the system
 08Jan02=======================================================================
 1. altered sh/qrz to point to the new server
 2. alter the character set handling a bit to make it better for spanish
index cda7690415ce9f56539c009894eea3ca4c421268..fe5a484295f7bc9c0a9948946dfa362559e11506 100644 (file)
@@ -646,7 +646,7 @@ sub clear_cmd_cache
        no strict 'refs';
        
        for (keys %Cache) {
-               undef *{$_};
+               undef *{$_} unless /cmd_cache/;
                dbg("Undefining cmd $_") if isdbg('command');
        }
        %cmd_cache = ();