Product Documentation

c-treeACE V10.0 Release Notes

Previous Topic

Next Topic

Corrected Inappropriate DAR RBUF_ERR on File Opens

It was found that the Direct Access Resource (DAR) initialization caused a file open to fail with a RBUF_ERR error (404, output buffer too small) after adding a resource larger than a DAR resource size. When c-treeACE opens a file, it reads the DARs from the file and processes them. If a standard resource follows the last DAR in the resource chain and the size of that resource exceeds the size of the DAR structure, the call to read the resource returns the RBUF_ERR error, resulting in a failed file open. Now, when reading the DARs, if the call to read the next resource returns error 404, the resource type is checked, and if it is not a DAR, reading is stopped and NO_ERROR is returned.

TOCIndex