[asterisk-commits] tilghman: trunk r211275 - in /trunk: ./ main/astfd.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Aug 9 10:42:06 CDT 2009


Author: tilghman
Date: Sun Aug  9 10:42:02 2009
New Revision: 211275

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=211275
Log:
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.
........

Modified:
    trunk/   (props changed)
    trunk/main/astfd.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/main/astfd.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/main/astfd.c?view=diff&rev=211275&r1=211274&r2=211275
==============================================================================
--- trunk/main/astfd.c (original)
+++ trunk/main/astfd.c Sun Aug  9 10:42:02 2009
@@ -98,7 +98,7 @@
 				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 {




More information about the asterisk-commits mailing list