We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In bacio.c we have code like this (note the use of bare constants in return statements):
/* Check for illegal combinations of options */ if ((BAOPEN_RONLY & *mode) && ((BAOPEN_WONLY & *mode) || (BAOPEN_WONLY_TRUNC & *mode) || (BAOPEN_WONLY_APPEND & *mode))) return 255; if ((BAREAD & *mode) && (BAWRITE & *mode)) return 254; /* Copy and null terminate the filename. */ if ((BAOPEN_RONLY & *mode) || (BAOPEN_WONLY & *mode) || (BAOPEN_WONLY_TRUNC & *mode) || (BAOPEN_WONLY_APPEND & *mode) || (BAOPEN_RW & *mode)) { if (!(realname = (char *) malloc((namelen + 1) * sizeof(char)))) return 253;
Of course these should be pre-processor defines, like well-behaved C code...
The text was updated successfully, but these errors were encountered:
These changes got lost in a merge...
Sorry, something went wrong.
edwardhartnett
Successfully merging a pull request may close this issue.
In bacio.c we have code like this (note the use of bare constants in return statements):
Of course these should be pre-processor defines, like well-behaved C code...
The text was updated successfully, but these errors were encountered: