Skip to content

Why both record::Copy and record::CopyFrom? #396

@chipbarnaby

Description

@chipbarnaby

Investigate why both forms exist.

Note CopyFrom does not copy status bytes. This means (among other things) that ZNI -> ZNR copy does not preserve status bytes, so IsSet etc. do not work correctly on ZNR records.

CopyFrom is used in basAnc::del() to copy records over deleted basAnc slot. Not copying status bytes seems wrong?

Consolidate if possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions