NITCbase / nitcbase.github.io

The entire documentation on implementing the NITCbase project.
https://nitcbase.github.io/
MIT License
10 stars 6 forks source link

Change union Attribute definition to match the definition in XFS Interface #38

Closed SaintNerevar closed 2 years ago

SaintNerevar commented 2 years ago

Revert the definition of the union Attribute back to

typedef union {
  double nval;
  char strval[ATTR_SIZE];
} Attribute;

to match with the definition in XFS Interface. Otherwise, it causes problems with memcpy() and the records aren't copied properly.