Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file header padding #332

Closed
wants to merge 1 commit into from
Closed

Conversation

wkliao
Copy link
Contributor

@wkliao wkliao commented Nov 28, 2016

According to the Classic Format Specification, Header padding uses null (\x00) bytes.

padding      = <0, 1, 2, or 3 bytes to next 4-byte boundary>
                                  // Header padding uses null (\x00) bytes.  In
                                  // data, padding uses variable's fill value.
                                  // See "Note on padding", below, for a special
                                  // case.

This pull request helps netCDF library respect the above specification.

@wkliao
Copy link
Contributor Author

wkliao commented Nov 28, 2016

This issue was found when I used PnetCDF to read files created by NetCDF and vice versa.
A test subroutine named test_nc_against_pnetcdf() was added to nc_test/util.c in my pull request #319 or branch https://github.com/wkliao/netcdf-c/commits/issue258

@WardF
Copy link
Member

WardF commented Nov 28, 2016

Thanks; the 4.4.1.1 release fixed a pretty serious bug, so I had to get that out before I could take a look at the other large pull request. I'm focusing on that this week, in addition to my AGU poster; support as always remains a wildcard :).

@jedwards4b
Copy link
Contributor

Hi, I have just run into this bug - please consider incorporating this PR in your next release. Thanks

@WardF WardF added this to the 4.4.2 milestone Feb 22, 2017
@WardF WardF self-assigned this Feb 22, 2017
@WardF
Copy link
Member

WardF commented Apr 4, 2017

This looks good, thanks! Waiting for #374 then will merge this in on the heels of that.

@WardF
Copy link
Member

WardF commented May 24, 2017

Getting caught up now that the big issues are taken care of. Bumping this to 4.5.1, as I need to get 4.5 out ASAP.

@WardF WardF modified the milestones: 4.5.1, 4.5 May 24, 2017
@WardF
Copy link
Member

WardF commented Jul 6, 2017

Currently there is a conflict and what appears to be an orphaned #else/#endif stanza. Will review outside the web interface.

@WardF
Copy link
Member

WardF commented Nov 17, 2017

It appears that this is merged, but was not automatically closed. Closing now to reflect that status.

@WardF WardF closed this Nov 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants