[gnome-commander] Fixed problem #597144 (missing call to pclose)



commit 4034bdae082be4fef9adb39347541a5b8f3f3c26
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 8f55d7d..43440e6 100644
--- a/NEWS
+++ b/NEWS
@@ -19,6 +19,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 577879e..96a4c3c 100644
--- a/doc/C/gnome-commander.xml
+++ b/doc/C/gnome-commander.xml
@@ -6023,6 +6023,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 89a5102..14c1028 100644
--- a/src/utils.cc
+++ b/src/utils.cc
@@ -994,6 +994,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]