Project

General

Profile

Actions

Bug #22

closed

HostFiles.NewWriter violating the specification

Added by I. Denisov about 11 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Start date:
11/23/2014
Due date:
% Done:

70%

Estimated time:

Description

According to the specification (System/Docu/Files) in case of read-only files (shared) NewWriter should return NIL. The current implementation, however, generates a TRAP. The specification needs to be aligned with the implementation. In order to be able to avoid the TRAP, two new File methods (Shared() and Closed()) should be introduced that return the file's current state.

Reported by Ilya Ermakov, 2009-10-12.

Actions

Also available in: Atom PDF