Mercurial > octave-nkf
changeset 6062:a813714cb04b
[project @ 2006-10-18 23:30:22 by jwe]
author | jwe |
---|---|
date | Wed, 18 Oct 2006 23:30:22 +0000 |
parents | c968f4198067 |
children | 8010902404b9 |
files | src/ChangeLog src/mex.cc |
diffstat | 2 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Wed Oct 18 20:57:05 2006 +0000 +++ b/src/ChangeLog Wed Oct 18 23:30:22 2006 +0000 @@ -1,5 +1,8 @@ 2006-10-18 John W. Eaton <jwe@octave.org> + * mex.cc (mexUnlock): Don't warn if unlocking a function that is + not locked. + * pt-fcn-handle.cc (tree_anon_fcn_handle::dup): Correctly duplicate symbol table info.
--- a/src/mex.cc Wed Oct 18 20:57:05 2006 +0000 +++ b/src/mex.cc Wed Oct 18 23:30:22 2006 +0000 @@ -3204,9 +3204,7 @@ std::map<std::string,int>::iterator p = mex_lock_count.find (fname); - if (p == mex_lock_count.end ()) - warning ("mexUnlock: funtion `%s' is not locked", fname); - else + if (p != mex_lock_count.end ()) { int count = --mex_lock_count[fname];