1
0
mirror of https://github.com/brouhaha/tapeutils.git synced 2026-01-11 23:53:18 +00:00

Merge pull request #8 from brouhaha/lars/binary

Make t10backup write all bits when extracting 36-bit files.
This commit is contained in:
Eric Smith 2019-04-27 23:30:57 -06:00 committed by GitHub
commit 34ddfcebcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -216,6 +216,7 @@ void pars_5chars (long index, char *store)
store [2] = (0177 & ((l << 3) | ((r >> 15) & 017)));
store [3] = (0177 & (r >> 8));
store [4] = (0177 & (r >> 1));
store [4] |= (r&1) << 7;
}