packages/utils/xdelta3/patches/001-decrease-default-window-size.patch
florian 9d15943a83 [package] add xdelta3
Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@28231 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-13 17:29:25 +00:00

20 lines
531 B
Diff

diff --git a/xdelta3.h b/xdelta3.h
index 5dafd8d..22bc37f 100644
--- a/xdelta3.h
+++ b/xdelta3.h
@@ -38,12 +38,12 @@
* buffer is used directly.
*/
#ifndef XD3_DEFAULT_WINSIZE
-#define XD3_DEFAULT_WINSIZE (1U << 23)
+#define XD3_DEFAULT_WINSIZE (1U << 16)
#endif
/* Default total size of the source window used in xdelta3-main.h */
#ifndef XD3_DEFAULT_SRCWINSZ
-#define XD3_DEFAULT_SRCWINSZ (1U << 26)
+#define XD3_DEFAULT_SRCWINSZ (1U << 19)
#endif
/* When Xdelta requests a memory allocation for certain buffers, it