Skip to content

Reopening a NODIRCORE stream: OTHERPROPS are getting lost #788

@rmkaplan

Description

@rmkaplan

(SETQ FOO (OPENSTREAM '{NODIRCORE} 'INPUT)
(STREAMPROP FOO 'X 'Y)
(STREAMPROP FOO 'X)
Y
(CLOSEF FOO)
(OPENSTREAM FOO 'INPUT)
(STREAMPROP FOO 'X)
NIL

The only way to attach information to persistent information to a nodircore stream is thru STREAMPROP, which sets OTHERPROPS. If another function comes in for some other purpose that requires closing and reopening, the saved information is lost.

The problem is the create-smashing in \NODIRCORE.OPENFILE. It doesn't preserve the OTHERPROPS, I propose to change that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions