[gnome-commander/gcmd-1-2-8] Fixed problem #597144 (missing call to pclose)



commit 50f66c930806a28035c3b0bbb91e25afbddb5f94
Author: Vincent Untz <vuntz gnome org>
Date:   Sat Oct 3 20:15:54 2009 +0200

    Fixed problem #597144 (missing call to pclose)

 NEWS                      |    1 +
 doc/C/gnome-commander.xml |    3 +++
 src/utils.cc              |    2 ++
 3 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/NEWS b/NEWS
index 20a374f..2c1a656 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,7 @@ gnome-commander 1.2.8.3
 Bug fixes:
  * Fixed problem #596768 (build warnings for python)
  * Fixed problem #596973 (documentation build error)
+ * Fixed problem #597144 (missing call to pclose)
 
 
 ===================================
diff --git a/doc/C/gnome-commander.xml b/doc/C/gnome-commander.xml
index 9ca6726..9e81ade 100644
--- a/doc/C/gnome-commander.xml
+++ b/doc/C/gnome-commander.xml
@@ -6030,6 +6030,9 @@
                         <listitem>
                             <para>Fixed problem #596973 (documentation build error)</para>
                         </listitem>
+                        <listitem>
+                            <para>Fixed problem #597144 (missing call to pclose)</para>
+                        </listitem>
                     </itemizedlist>
                 </para>
             </entry>
diff --git a/src/utils.cc b/src/utils.cc
index e37a026..e9d81e2 100644
--- a/src/utils.cc
+++ b/src/utils.cc
@@ -996,6 +996,8 @@ GList *app_get_linked_libs (GnomeCmdFile *f)
         }
     }
 
+    pclose (fd);
+
     return libs;
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]