note 93702 rejected from function.dio-open by danbrown

From: Date: Wed, 23 Sep 2009 16:38:34 +0000
Subject: note 93702 rejected from function.dio-open by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-160985@lists.php.net to get a copy of this message
Note Submitter: mbarlocker at soleranetworks dot com ---- The arguments for this function are incorrect. You will not notice this until you try to use dio_open and then dio_write. You will get this error on the console: 'Bad file descriptor'. the 'flags' parameter MUST include one of {O_RDONLY, O_WRONLY, O_RDWR}. It may also include any combination of the flags listed. the 'mode' parameter is NOT the read/write mode. It is the permissions of the file. For example 0644 or 0755. Notice that there are not quotes around these permissions. This works correctly on Fedora 10 x86_64 php 5.2.9.

« previous php.notes (#160985) next »