asterisk/pbx
Kinsey Moore c34674511d Merged revisions 342277 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r342277 | kmoore | 2011-10-25 11:08:04 -0500 (Tue, 25 Oct 2011) | 25 lines
  
  Merged revisions 342276 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.8
  
  ........
    r342276 | kmoore | 2011-10-25 11:06:57 -0500 (Tue, 25 Oct 2011) | 18 lines
    
    Fix spool handling to allow call files to be hardlinked into place
    
    This fixes the inotify code to handle call files being hardlinked into the
    spool directory.
    
    The smsq utility does this, instead of rename(), to ensure that it cannot
    accidentally overwrite an existing spool file. A rename() might do that, but
    link() will definitely not.
    
    The inotify code had broken this, because it would wait for an IN_CLOSE_WRITE
    event on the file... which was never forthcoming, since it was never opened.
    Now we look for IN_OPEN events following the IN_CREATE event, and only wait
    for an IN_CLOSE_WRITE if the file was actually opened.
    
    Patch-by: dwmw2
    (closes issue ASTERISK-18331)
    Review: https://reviewboard.asterisk.org/r/1391/
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@342278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-25 16:08:52 +00:00
..
ael/ael-test Merged revisions 299449 via svnmerge from 2010-12-22 20:10:34 +00:00
Makefile Change per-file debug and verbose levels to be per-module, the way 2010-03-23 14:22:27 +00:00
dundi-parser.c Const-ify the world (or at least a good part of it) 2009-05-21 21:13:09 +00:00
dundi-parser.h Remove built-in AES code and use optional_api instead 2010-07-21 19:11:32 +00:00
pbx_ael.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
pbx_config.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
pbx_dundi.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
pbx_loopback.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
pbx_lua.c only process args that exist 2011-10-21 16:42:56 +00:00
pbx_realtime.c Remove an unused include of md5.h 2011-10-17 17:58:00 +00:00
pbx_spool.c Merged revisions 342277 via svnmerge from 2011-10-25 16:08:52 +00:00