search for: bytef

Displaying 10 results from an estimated 10 matches for "bytef".

Did you mean: byte
2002 Jan 30
1
Patch: update zlib/* to 1.1.3
...t rtl link library" info from obj files + . msdos/Makefile.*: use model-dependent name for the built zlib library + . msdos/Makefile.emx, nt/Makefile.emx, nt/Makefile.gcc: + new makefiles, for emx (DOS/OS2), emx&rsxnt and mingw32 (Windows 9x / NT) +- use define instead of typedef for Bytef also for MSC small/medium (Tom Lane) +- replace __far with _far for better portability (Christian Spieler, Tom Lane) +- fix test for errno.h in configure (Tim Newsham) + Changes in 1.1.2 (19 March 98) - added contrib/minzip, mini zip and unzip based on zlib (Gilles Vollant) See http://www.wini...
2003 Jun 27
1
bug? -z option and large compressed data
...es left) rsync error: error in rsync protocol data stream (code 12) at token.c(288) "install-disk2.iso" is a CD-ROM image of "Turbo Linux Installer" and this CD-ROM includes many gzip/bzip2 compressed datas(RPMs). Let's looked at token.c. 280 tx_strm.next_in = (Bytef *) map_ptr(buf, offset, toklen); 281 tx_strm.avail_in = toklen; 282 tx_strm.next_out = (Bytef *) obuf; 283 tx_strm.avail_out = MAX_DATA_COUNT; 284 r = deflate(&tx_strm, Z_INSERT_ONLY); 285 if (r != Z_OK || tx_strm.avail_in != 0) { 286...
2002 Aug 05
5
[patch] read-devices
...dw */ char temp_byte; /* dw */ + int data_read = 0; if (last_token == -1) { /* initialization */ if (!init_done) { @@ -215,13 +223,15 @@ do { if (tx_strm.avail_in == 0 && nb != 0) { /* give it some more input */ n = MIN(nb, CHUNK_SIZE); - tx_strm.next_in = (Bytef *) - map_ptr(buf, offset, n); - tx_strm.avail_in = n; - nb -= n; - offset += n; + + map_ptr(buf, offset, n); + tx_strm.next_in = (Bytef *)buf->m_ptr; + tx_strm.avail_in = buf->m_len; + nb -= buf->m_len; + offset += buf->m_len; + data_read += buf->m_len;...
2007 Sep 22
0
rsync build on IA64 using icc
...late.c(227): remark #310: old-style parameter list (anachronism) int stream_size; ^ zlib/deflate.c(318): remark #310: old-style parameter list (anachronism) z_streamp strm; ^ zlib/deflate.c(319): remark #310: old-style parameter list (anachronism) const Bytef *dictionary; ^ zlib/deflate.c(320): remark #310: old-style parameter list (anachronism) uInt dictLength; ^ zlib/deflate.c(360): remark #310: old-style parameter list (anachronism) z_streamp strm; ^ zlib/deflate.c(396): remark #310: old-...
2015 Apr 14
2
[Bug 11215] New: compression/zlib errors discard the zlib error message
...sed (59265966 bytes received so far) [generator] rsync error: error in rsync protocol data stream (code 12) at io.c(226) [generator=3.1.0] The first error (inflate returned -3 (0 bytes)) was tracked in token.c: > case r_inflating: > rx_strm.next_out = (Bytef *)dbuf; > rx_strm.avail_out = AVAIL_OUT_SIZE(CHUNK_SIZE); > r = inflate(&rx_strm, Z_NO_FLUSH); > n = AVAIL_OUT_SIZE(CHUNK_SIZE) - rx_strm.avail_out; > if (r != Z_OK) { >...
2001 Aug 06
1
merge rsync+ into rsync (was Re: rsync-2.4.7 NEWS file)
> Just curious: what about the rsync+ patch? Thanks for the reminder. I've just committed Jos's rsync+ patch onto the "branch_mbp_rsyncplus_merge" branch. If it works OK and nobody screams I will move it across onto the main tree tomorrow or Wednesday. I see the patch doesn't add documentation about the new options to the man page, so we should fix that in the future.
2012 Aug 20
13
[PATCH 00/12] Multidisk support
Hello, the following patches should get multidisk access working. The syntax accepted is the following: (hdx,y)/path/to/file where x is the disk number and start at 0 and the y is the partition number starting at 1. So (hd0,1) is the first partition of the first disk. the other accepted syntax is using MBR's 32 bits disk signature so for example: (mbr:0x12345678,2)/foo/bar would address
2007 Jan 18
0
Branch 'interpreter' - 4 commits - libswfdec/js libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_codec_screen.c libswfdec/swfdec_image.c libswfdec/swfdec_script.c libswfdec/swfdec_swf_decoder.c libswfdec/swfdec_tag.c
...ta = g_realloc (data, len); - z->next_out = data + z->total_out; - z->avail_out += 1024; - } - ret = inflate (z, Z_SYNC_FLUSH); - if (ret != Z_OK) - break; - } + z.zalloc = zalloc; + z.zfree = zfree; + z.opaque = NULL; + + data = g_malloc (len); + z.next_in = (Bytef *) zptr; + z.avail_in = zlen; + z.next_out = data; + z.avail_out = len; + + ret = inflateInit (&z); + ret = inflate (&z, Z_SYNC_FLUSH); if (ret != Z_STREAM_END) { SWFDEC_WARNING ("lossless: ret == %d", ret); } + inflateEnd (&z); - if (plen) - (*plen) = z...
2007 Feb 13
0
9 commits - libswfdec/js libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_codec_screen.c libswfdec/swfdec_image.c libswfdec/swfdec_script.c test/Makefile.am test/swfdec_out.c test/swfdec_out.h test/swfedit.c test/swfedit_file.c
...void -zfree (void *opaque, void *addr) -{ - g_free (addr); -} - -static guint8 * -lossless (const guint8 *zptr, int zlen, int len) -{ - guint8 *data; - z_stream z = { NULL, }; - int ret; - - z.zalloc = zalloc; - z.zfree = zfree; - z.opaque = NULL; - - data = g_malloc (len); - z.next_in = (Bytef *) zptr; - z.avail_in = zlen; - z.next_out = data; - z.avail_out = len; - - ret = inflateInit (&z); - ret = inflate (&z, Z_FINISH); - if (ret != Z_STREAM_END) { - SWFDEC_WARNING ("lossless: ret == %d", ret); - } - inflateEnd (&z); - - return data; -} - - int swfd...
2007 Feb 06
0
109 commits - configure.ac libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_codec_screen.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h
...ta = g_realloc (data, len); - z->next_out = data + z->total_out; - z->avail_out += 1024; - } - ret = inflate (z, Z_SYNC_FLUSH); - if (ret != Z_OK) - break; - } + z.zalloc = zalloc; + z.zfree = zfree; + z.opaque = NULL; + + data = g_malloc (len); + z.next_in = (Bytef *) zptr; + z.avail_in = zlen; + z.next_out = data; + z.avail_out = len; + + ret = inflateInit (&z); + ret = inflate (&z, Z_SYNC_FLUSH); if (ret != Z_STREAM_END) { SWFDEC_WARNING ("lossless: ret == %d", ret); } + inflateEnd (&z); - if (plen) - (*plen) = z...