Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libcob/fileio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1910,7 +1910,7 @@ indexed_open (cob_file *f, char *filename, const int mode, const int sharing)
}
}
/* additional change to BCS/JR patch: put off the simple-key assamption. */
if (fh->key[k].k_nparts == 1
if (fh->key[k].k_nparts == 1 && !f->keys[k].count_components
&& (fh->key[k].k_start != f->keys[k].offset
|| fh->key[k].k_leng != f->keys[k].field->size)) {
ret = COB_STATUS_39_CONFLICT_ATTRIBUTE;
Expand Down