branch Attitude Adjustment packages
[12.09/packages.git] / utils / xdelta3 / patches / 001-decrease-default-window-size.patch
1 diff --git a/xdelta3.h b/xdelta3.h
2 index 5dafd8d..22bc37f 100644
3 --- a/xdelta3.h
4 +++ b/xdelta3.h
5 @@ -38,12 +38,12 @@
6   * buffer is used directly.
7   */
8  #ifndef XD3_DEFAULT_WINSIZE
9 -#define XD3_DEFAULT_WINSIZE (1U << 23)
10 +#define XD3_DEFAULT_WINSIZE (1U << 16)
11  #endif
12  
13  /* Default total size of the source window used in xdelta3-main.h */
14  #ifndef XD3_DEFAULT_SRCWINSZ
15 -#define XD3_DEFAULT_SRCWINSZ (1U << 26)
16 +#define XD3_DEFAULT_SRCWINSZ (1U << 19)
17  #endif
18  
19  /* When Xdelta requests a memory allocation for certain buffers, it