mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 18:58:22 +00:00
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/trunk@211275 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user