Con Kolivas
a901b015bf
Revert "Try endian swap on dicSize."
...
This reverts commit 74b0b71e0b .
Broken crap.
2011-03-22 20:49:51 +11:00
ckolivas
74b0b71e0b
Try endian swap on dicSize.
2011-03-22 18:15:18 +11:00
ckolivas
eebba614bc
Don't adjust endianness in read_val.
2011-03-22 17:00:37 +11:00
ckolivas
36cc464d2b
Yet more 32 bit clamping.
2011-03-22 14:44:56 +11:00
ckolivas
df1ec6dd08
Remove unused.
2011-03-22 13:06:44 +11:00
ckolivas
1ca937db1c
More doc updates.
2011-03-22 12:29:37 +11:00
ckolivas
f56e48c4f2
Modify maxram to mean the most we'll allocate in one chunk and add usable_ram for the most we'll allocate to one task.
...
Limit all maxram on 32bits to 1GB since most don't like mallocing more than this.
Update testing to allow larger total amount based on usable ram while sticking to maxram limit per alloc.
2011-03-22 12:10:21 +11:00
Con Kolivas
68cca4dea5
More streamlining of version number. Fixes problems with osx version displayed.
2011-03-22 09:06:13 +11:00
Con Kolivas
131d4c92c2
Modify the file format to not include rzip chunk size except for STDOUT chunked files thus decreasing the file format size further.
2011-03-22 09:04:24 +11:00
Con Kolivas
7101372167
memcpy is a silly way to set that variable which may be different size.
2011-03-22 08:19:21 +11:00
Con Kolivas
25bfdacfe1
Check for endian_h headers.
2011-03-22 08:07:48 +11:00
Con Kolivas
8614ede6e0
Should be doing endian change on variable, not pointer.
2011-03-22 08:03:05 +11:00
Con Kolivas
2736118f82
Check for different endian.h includes and variants of le32toh.
2011-03-22 07:57:32 +11:00
Con Kolivas
fae0f0d493
Merge branch 'master' into endian
2011-03-22 00:51:15 +11:00
Con Kolivas
93f7c602d0
Fixes for 32 bit limits and osx compilation.
2011-03-22 00:46:12 +11:00
Con Kolivas
a30efcaa55
Portable generic byteswap for BE.
2011-03-22 00:13:29 +11:00
Con Kolivas
c533b031bc
Fix trivial compiler warnings.
2011-03-21 23:36:39 +11:00
Con Kolivas
5c24fd02cc
Make tmp bufs uchar to avoid warnings.
2011-03-21 23:09:39 +11:00
Con Kolivas
b074fa70b0
Documentation.
2011-03-21 23:00:06 +11:00
Con Kolivas
dfcce76594
BE #7 fixes.
2011-03-21 21:35:25 +11:00
Con Kolivas
1647b4036d
Unused variable.
2011-03-21 21:29:01 +11:00
Con Kolivas
43eb2e4594
Revert "yet yet yet more BE fixes."
...
This reverts commit 44b93068a3 .
Value was not stored but ysed for a memcpy.
2011-03-21 21:27:25 +11:00
Con Kolivas
25a018fd9d
Update Authors to include Serge Belyshev.
2011-03-21 21:02:05 +11:00
Con Kolivas
3a4344bba4
Convert salt 8 to SALT_LEN.
2011-03-21 20:56:36 +11:00
Con Kolivas
8c8f5bdd48
lrz_crypt tweaks courtesy of Serge Belyshev.
2011-03-21 20:54:53 +11:00
Con Kolivas
95f8b9fd90
Forgot return value.
2011-03-21 20:52:11 +11:00
Con Kolivas
135067a0b4
Yet more #6 BE fixes.
2011-03-21 20:33:43 +11:00
Con Kolivas
279b745cd7
Yet #5 more BE fixes.
2011-03-21 20:31:33 +11:00
Con Kolivas
637b0d5f7c
yet yet yet yet more BE fixes.
2011-03-21 20:29:24 +11:00
Con Kolivas
04d3d6a1f5
Read BE fixes.
2011-03-21 20:23:36 +11:00
Con Kolivas
06a76bc4aa
Revert "More big endian fixes."
...
This reverts commit edbcc797e0 .
Broke regression text. Needs more attention.
2011-03-21 19:01:24 +11:00
Con Kolivas
44b93068a3
yet yet yet more BE fixes.
2011-03-21 18:58:38 +11:00
Con Kolivas
2982cb7121
Yet yet more BE fixes.
2011-03-21 16:12:51 +11:00
Con Kolivas
19cbaaf8df
Simplify read_vchars since it's always stored in little endian.
2011-03-21 13:33:45 +11:00
Con Kolivas
81bdbaf066
Yet more BE fixes.
2011-03-21 13:00:57 +11:00
Con Kolivas
edbcc797e0
More big endian fixes.
2011-03-21 12:41:36 +11:00
Con Kolivas
280254b8cb
Forgot to remove the initial pos offset.
2011-03-21 12:34:57 +11:00
Con Kolivas
fd9bbfe64a
One last check on limit.
2011-03-21 07:33:35 +11:00
Con Kolivas
738cde54ed
More BE fixes.
2011-03-20 22:31:38 +11:00
Con Kolivas
77d44ce108
Disable output when it's not known. More endian fixes.
2011-03-20 22:22:54 +11:00
Con Kolivas
f87528d14d
Forgot to include salt length for next head.
2011-03-20 17:01:33 +11:00
Con Kolivas
30b70dc884
Fixes for non little endian machines.
2011-03-20 16:16:38 +11:00
Con Kolivas
1ade3bcc2f
Update file format information for encrypted files.
2011-03-20 15:55:09 +11:00
Con Kolivas
0dad7dcc5a
Modify the encrypted version to not write down the rzip chunk size, then keep track of where each block header is written, go back and write 8 bytes of salt before it and encrypt the headers in place.
2011-03-20 15:45:44 +11:00
Con Kolivas
e7d33e82d0
Make read_1g able to read from the tmp outbuf if we decide to read from fd_out.
2011-03-19 14:46:06 +11:00
Con Kolivas
ff5a5ed054
Use separate lrz_encrypt and lrz_decrypt wrappers to lrz_crypt.
2011-03-19 14:04:22 +11:00
Con Kolivas
0b1db75a44
Cleanups.
2011-03-19 13:53:43 +11:00
Con Kolivas
b11b5a0b5d
Need to memset magic to zero to prevent garbage beign written to fields not written.
2011-03-19 01:16:21 +11:00
Con Kolivas
1b05ad0750
Update READMEs.
2011-03-19 00:31:17 +11:00
Con Kolivas
53a6dfd723
Add manpage entry for encryption option.
2011-03-18 23:38:02 +11:00