Fixed F_ADOPT_BUFFER problem.