We're updating the issue view to help you get more done. 

FILE CLOSE STATUS STILL BE IN OPEN

Description

In lucee, using a fileClose() the status is not changed is still being open.In ACF, it changed the status into closed.

1 2 3 4 5 6 7 8 9 10 base = GetDirectoryFromPath(GetCurrentTemplatePath()); if(!directoryExists(base&"fileDir")){ directoryCreate(base&'fileDir'); } path = base&"/fileDir/sample.txt"; result=fileopen(path,'write'); fileWrite(result,'I love lucee'); writeDump(var=result, label="before closing a file"); fileclose(result); writeDump(var=result, label="After closing a file");

Result:
ACF : Closed
Lucee: Open

Environment

Status

Assignee

Michael Offner

Reporter

Pothys - MitrahSoft

Sprint

None

Fix versions

Priority

New