Author: arekm                        Date: Sun Feb 14 16:10:31 2010 GMT
Module: poldek                        Tag: HEAD
---- Log message:
Make linebuf bigger, so things fit.
Small bugger was causing "packages.ndir.gz:20942[tImpl.html..]: ':' expected" 
failures.

---- Files affected:
poldek/poldek/pkgdir:
   pkg_restore.c (1.25 -> 1.26) 
poldek/poldek/pkgdir/pdir:
   pdir.c (1.31 -> 1.32) , pdir_pkg_restore.c (1.11 -> 1.12) 
poldek/poldek/pkgdir/yum:
   yum.c (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: poldek/poldek/pkgdir/pkg_restore.c
diff -u poldek/poldek/pkgdir/pkg_restore.c:1.25 
poldek/poldek/pkgdir/pkg_restore.c:1.26
--- poldek/poldek/pkgdir/pkg_restore.c:1.25     Sun May 25 11:25:31 2008
+++ poldek/poldek/pkgdir/pkg_restore.c  Sun Feb 14 17:10:26 2010
@@ -149,7 +149,7 @@
     struct pkg           tmpkg;
     off_t                offs;
     unsigned long        ul_offs;
-    char                 linebuf[4096];
+    char                 linebuf[PATH_MAX];
     int                  nerr = 0, nread, pkg_loaded = 0;
     int                  tag, tag_binsize = PKG_STORETAG_SIZENIL;
     const  char          *errmg_double_tag = "%s:%lu: double '%c' tag";

================================================================
Index: poldek/poldek/pkgdir/pdir/pdir.c
diff -u poldek/poldek/pkgdir/pdir/pdir.c:1.31 
poldek/poldek/pkgdir/pdir/pdir.c:1.32
--- poldek/poldek/pkgdir/pdir/pdir.c:1.31       Sat Feb  2 22:49:04 2008
+++ poldek/poldek/pkgdir/pdir/pdir.c    Sun Feb 14 17:10:26 2010
@@ -577,7 +577,7 @@
 int do_open(struct pkgdir *pkgdir, unsigned flags)
 {
     struct vfile         *vf;
-    char                 linebuf[1024 * 256];
+    char                 linebuf[PATH_MAX];
     int                  nline;
     int                  nerr = 0, nread;
     struct pkgroup_idx   *pkgroups = NULL;

================================================================
Index: poldek/poldek/pkgdir/pdir/pdir_pkg_restore.c
diff -u poldek/poldek/pkgdir/pdir/pdir_pkg_restore.c:1.11 
poldek/poldek/pkgdir/pdir/pdir_pkg_restore.c:1.12
--- poldek/poldek/pkgdir/pdir/pdir_pkg_restore.c:1.11   Sun May 25 11:25:31 2008
+++ poldek/poldek/pkgdir/pdir/pdir_pkg_restore.c        Sun Feb 14 17:10:26 2010
@@ -135,7 +135,7 @@
 {
     struct pkgtags_s   pkgt;
     off_t              offs;
-    char               linebuf[4096];
+    char               linebuf[PATH_MAX];
     int                nerr = 0, nread, with_pkg = 0;
 
     const  char        *errmg_double_tag = "%s:%ld: double '%c' tag";

================================================================
Index: poldek/poldek/pkgdir/yum/yum.c
diff -u poldek/poldek/pkgdir/yum/yum.c:1.19 poldek/poldek/pkgdir/yum/yum.c:1.20
--- poldek/poldek/pkgdir/yum/yum.c:1.19 Sat Feb  2 22:49:05 2008
+++ poldek/poldek/pkgdir/yum/yum.c      Sun Feb 14 17:10:26 2010
@@ -128,7 +128,7 @@
 int do_open(struct pkgdir *pkgdir, unsigned flags)
 {
     struct vfile         *vf;
-    char                 linebuf[1024 * 16];
+    char                 linebuf[PATH_MAX];
     int                  nline, nerr = 0, nread, n;
     struct pkgroup_idx   *pkgroups = NULL;
     struct idx           idx;
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/poldek/poldek/pkgdir/pkg_restore.c?r1=1.25&r2=1.26&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/poldek/poldek/pkgdir/pdir/pdir.c?r1=1.31&r2=1.32&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/poldek/poldek/pkgdir/pdir/pdir_pkg_restore.c?r1=1.11&r2=1.12&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/poldek/poldek/pkgdir/yum/yum.c?r1=1.19&r2=1.20&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to