Merged revisions 211275 via svnmerge from

https://origsvn.digium.com/svn/asterisk/trunk

................
  r211275 | tilghman | 2009-08-09 10:42:02 -0500 (Sun, 09 Aug 2009) | 9 lines
  
  Merged revisions 211274 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r211274 | tilghman | 2009-08-09 10:41:01 -0500 (Sun, 09 Aug 2009) | 2 lines
    
    Small oops.  Clear the flags which have been checked.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@211277 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.1
Tilghman Lesher 16 years ago
parent aff3871fa3
commit 3f71a5ea71

@ -98,7 +98,7 @@ int __ast_fdleak_open(const char *file, int line, const char *func, const char *
flags & O_RDONLY ? "|O_RDONLY" : "",
flags & O_WRONLY ? "|O_WRONLY" : "",
"");
flags |= ~(O_CREAT | O_APPEND | O_EXCL | O_NONBLOCK | O_TRUNC | O_RDWR | O_RDONLY | O_WRONLY);
flags &= ~(O_CREAT | O_APPEND | O_EXCL | O_NONBLOCK | O_TRUNC | O_RDWR | O_RDONLY | O_WRONLY);
if (flags) {
STORE_COMMON(res, "open", "\"%s\",%s|%d,%04o", path, sflags, flags, mode);
} else {

Loading…
Cancel
Save