Merged revisions 165796 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Thu, 18 Dec 2008 21:44:47 +0000 (21:44 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 18 Dec 2008 21:44:47 +0000 (21:44 +0000)
commit1cb4baade2f9a5d9b314d6bf0b2f16a42717f75b
treeb060cbdf4c25c26ec68a6625c3961b5811308aca
parent4e4093ab4855afb55d7a7db17e94f8d2d175febe
Merged revisions 165796 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r165796 | russell | 2008-12-18 15:39:25 -0600 (Thu, 18 Dec 2008) | 11 lines

Make ast_carefulwrite() be more careful.

This patch handles some additional cases that could result in partial writes
to the file description.  This was done to address complaints about partial
writes on AMI.

(issue #13546) (more changes needed to address potential problems in 1.6)
Reported by: srt
Tested by: russell
Review: http://reviewboard.digium.com/r/99/

........

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