SOURCES: poldek-huge-split.patch - updated

arekm arekm at pld-linux.org
Sat Oct 1 20:36:47 CEST 2005


Author: arekm                        Date: Sat Oct  1 18:36:47 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated

---- Files affected:
SOURCES:
   poldek-huge-split.patch (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/poldek-huge-split.patch
diff -u SOURCES/poldek-huge-split.patch:1.3 SOURCES/poldek-huge-split.patch:1.4
--- SOURCES/poldek-huge-split.patch:1.3	Sat Oct  1 20:26:59 2005
+++ SOURCES/poldek-huge-split.patch	Sat Oct  1 20:36:42 2005
@@ -7,8 +7,8 @@
  struct split_conf {
 -    int   size;
 -    int   first_free_space;
-+    unsigned long   size;
-+    unsigned long   first_free_space;
++    unsigned long long   size;
++    unsigned long long   first_free_space;
      char  *conf;
      char  *prefix;
  };
@@ -21,8 +21,8 @@
      int       no;
 -    unsigned  size;
 -    unsigned  maxsize;
-+    unsigned  long size;
-+    unsigned  long maxsize;
++    unsigned  long long size;
++    unsigned  long long maxsize;
      int       items;
      tn_array  *pkgs;
  };
@@ -31,7 +31,7 @@
  };
  
 -static struct chunk *chunk_new(int no, int maxsize)
-+static struct chunk *chunk_new(int no, unsigned long maxsize)
++static struct chunk *chunk_new(int no, unsigned long long maxsize)
  {
      struct chunk *chunk;
  
@@ -40,7 +40,7 @@
  
  static
 -int try_package(int deep, unsigned *chunk_size, unsigned maxsize,
-+int try_package(int deep, unsigned *chunk_size, unsigned long maxsize,
++int try_package(int deep, unsigned *chunk_size, unsigned long long maxsize,
                  struct pkg *pkg, tn_array *stack) 
  {
      int i, rc = 1;
@@ -58,7 +58,7 @@
  
  static
 -int make_chunks(tn_array *pkgs, unsigned split_size, unsigned first_free_space,
-+int make_chunks(tn_array *pkgs, unsigned long split_size, unsigned long first_free_space,
++int make_chunks(tn_array *pkgs, unsigned long long split_size, unsigned long long first_free_space,
                  const char *outprefix)
  {
      int             i, chunk_no = 0, rc = 1;
@@ -76,7 +76,7 @@
  
  
 -int packages_split(tn_array *pkgs, unsigned split_size, unsigned first_free_space, 
-+int packages_split(tn_array *pkgs, unsigned long split_size, unsigned long first_free_space, 
++int packages_split(tn_array *pkgs, unsigned long long split_size, unsigned long long first_free_space, 
                     const char *splitconf_path, const char *outprefix)
  {
      tn_array *defs = NULL, *packages = NULL, *ordered_pkgs = NULL;
@@ -88,7 +88,7 @@
  int packages_set_priorities(tn_array *pkgs, const char *splitconf_path);
  
 -int packages_split(tn_array *pkgs, unsigned split_size, unsigned first_free_space,
-+int packages_split(tn_array *pkgs, unsigned long split_size, unsigned long first_free_space,
++int packages_split(tn_array *pkgs, unsigned long long split_size, unsigned long long first_free_space,
                     const char *splitconf_path, const char *outprefix);
  
  #endif
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/poldek-huge-split.patch?r1=1.3&r2=1.4&f=u




More information about the pld-cvs-commit mailing list