Merged revisions 85647 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Mon, 15 Oct 2007 19:19:01 +0000 (19:19 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 15 Oct 2007 19:19:01 +0000 (19:19 +0000)
commitac9a6dce2588468f47ca41c9f1a1b6eff18e6081
tree5df4bfa6cafe6de79952c04d8b06a9b0fd2ac798
parent1acdae4f1234b305a352de81166e74b9cbc84f3d
Merged revisions 85647 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85647 | russell | 2007-10-15 14:11:38 -0500 (Mon, 15 Oct 2007) | 5 lines

The loop in the handler for the "core show locks" could potentially block for
some amount of time.  Be a little bit more careful and prepare all of the
output in an intermediary buffer while holding a global resource.  Then, after
releasing it, send the output to ast_cli().

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85648 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/utils.c