]> granicus.if.org Git - php/commit
- Changed return value in userspace stream set_option to "not implemented",
authorGustavo André dos Santos Lopes <cataphract@php.net>
Fri, 18 Feb 2011 17:53:26 +0000 (17:53 +0000)
committerGustavo André dos Santos Lopes <cataphract@php.net>
Fri, 18 Feb 2011 17:53:26 +0000 (17:53 +0000)
commit37593312764da0bc0b6cdcc3b6c3c3fb698b204e
treeb2c55f20d7e01d1361fb7edf06d3cbedd11ada4d
parent3510be42b79c03ab5b7a6b861d7b5d3a96a53784
- Changed return value in userspace stream set_option to "not implemented",
  instead of failure.
#Currently, there's no way to test this, because the only operations that have
#a default implementation, set_chunk_size and set_read_buffer are either not
#exposed or, in the 2nd case, completely delegated to the user implementation,
#which can only return true/false, not "not implemented" (and not implementing
#the set_option method in the userspace stream results in error).
main/streams/userspace.c