Two fixes that have been cooking in for-maint for a while.
* maint:
i9e: Restore file status flags on exit.
NEWS,md: Add introductory text for v0.5.7.
NEWS
====
-------------------------------------------
-0.5.7 (to be announced) "semantic density"
-------------------------------------------
+-------------------------------------
+0.5.7 (2016-12-31) "semantic density"
+-------------------------------------
Mostly a bug fix release, and a bunch of internal improvements.
The only user-visible changes are the sanity checks for the touch
- New section on contributing for the user manual.
- Major simplification of the error subsystem.
-Download: [tarball](./releases/paraslash-git.tar.bz2)
+Downloads:
+[tarball](./releases/paraslash-0.5.7.tar.bz2),
+[signature](./releases/paraslash-0.5.7.tar.bz2.asc)
-------------------------------------------
0.4.14 (2016-12-31) "branching oscillation"
* \sa struct afh_info
*/
int (*get_file_info)(char *map, size_t numbytes, int fd,
- struct afh_info *afi);
+ struct afh_info *afhi);
/** Optional, used for header-rewriting. See \ref afh_get_header(). */
void (*get_header)(void *map, size_t mapsize, char **buf, size_t *len);
/**
{
ogg_sync_state oss;
ogg_page op;
- long len = numbytes;
char *buf;
int ret, i, j, frames_per_chunk, ct_size;
long long unsigned num_frames = 0;
ogg_sync_init(&oss);
ret = -E_OGG_SYNC;
- buf = ogg_sync_buffer(&oss, len);
+ buf = ogg_sync_buffer(&oss, numbytes);
if (!buf)
goto out;
- memcpy(buf, map, len);
+ memcpy(buf, map, numbytes);
ret = -E_OGG_SYNC;
- if (ogg_sync_wrote(&oss, len) < 0)
+ if (ogg_sync_wrote(&oss, numbytes) < 0)
goto out;
ret = process_ogg_packets(&oss, afhi, ci);
if (ret < 0)