Author: arekm                        Date: Tue Jul 28 09:02:32 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 56; revert

---- Files affected:
packages/pdksh:
   pdksh-openbsd.patch (1.2 -> 1.3) , pdksh.spec (1.124 -> 1.125) 

---- Diffs:

================================================================
Index: packages/pdksh/pdksh-openbsd.patch
diff -u packages/pdksh/pdksh-openbsd.patch:1.2 
packages/pdksh/pdksh-openbsd.patch:1.3
--- packages/pdksh/pdksh-openbsd.patch:1.2      Tue Jul 28 11:01:16 2009
+++ packages/pdksh/pdksh-openbsd.patch  Tue Jul 28 11:02:26 2009
@@ -95,6 +95,28 @@
        }
        opnd1 = (*te->getopnd)(te, TO_NONOP, do_eval);
        if (!opnd1) {
+commit fc91346d6b6686009dd129e3c6bb7ccef8c2a838
+Author: jaredy <jaredy>
+Date:   Mon Aug 11 21:50:35 2008 +0000
+
+    plug a memleak when freeing io redirection in commands.
+    the leaked memory is actually reclaimed when the command
+    finishes but may grow until that happens, e.g. during
+    command execution.
+    
+    ok phess...@.
+    testing sobrado@ jmc@ o...@.
+
+diff --git a/tree.c b/tree.c
+index a9c725b..b46434e 100644
+--- a/tree.c
++++ b/tree.c
+@@ -706,4 +706,5 @@ iofree(struct ioword **iow, Area *ap)
+                       afree((void*)p->heredoc, ap);
+               afree((void*)p, ap);
+       }
++      afree(iow, ap);
+ }
 commit d83036326d467dd2d78a5bba6889c569abea491b
 Author: fgsch <fgsch>
 Date:   Tue May 20 00:30:30 2008 +0000

================================================================
Index: packages/pdksh/pdksh.spec
diff -u packages/pdksh/pdksh.spec:1.124 packages/pdksh/pdksh.spec:1.125
--- packages/pdksh/pdksh.spec:1.124     Tue Jul 28 11:01:16 2009
+++ packages/pdksh/pdksh.spec   Tue Jul 28 11:02:26 2009
@@ -15,7 +15,7 @@
 Summary(uk.UTF-8):     Вілбна реалізація командного процесора Korn shell (ksh)
 Name:          pdksh
 Version:       5.2.14
-Release:       55
+Release:       56
 License:       Mostly Public Domain with Free & GPL additions
 Group:         Applications/Shells
 Source0:       ftp://ftp.cs.mun.ca/pub/pdksh/%{name}-%{version}.tar.gz
@@ -178,6 +178,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.125  2009/07/28 09:02:26  arekm
+- rel 56; revert
+
 Revision 1.124  2009/07/28 09:01:16  arekm
 - rel 55; drop one suspected hunk
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pdksh/pdksh-openbsd.patch?r1=1.2&r2=1.3&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pdksh/pdksh.spec?r1=1.124&r2=1.125&f=u

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

Reply via email to