php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | |
Patch set_read_buffer_patch_v2 for Streams related Bug #51854Patch version 2010-05-18 19:40 UTC Return to Bug #51854 | Download this patchThis patch renders other patches obsolete Obsolete patches: Patch Revisions:Developer: tjerk.meesters@gmail.comIndex: main/streams/streams.c =================================================================== --- main/streams/streams.c (revision 299464) +++ main/streams/streams.c (working copy) @@ -1187,7 +1187,7 @@ if (value == PHP_STREAM_BUFFER_NONE) { stream->flags |= PHP_STREAM_FLAG_NO_BUFFER; } else { - stream->flags ^= PHP_STREAM_FLAG_NO_BUFFER; + stream->flags = stream->flags & ~PHP_STREAM_FLAG_NO_BUFFER; } ret = PHP_STREAM_OPTION_RETURN_OK; break; |
Copyright © 2001-2024 The PHP Group All rights reserved. |
Last updated: Tue Sep 10 01:01:28 2024 UTC |