From 6a06d5cdc1893d6f306840150595c384252525ab Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sun, 23 Nov 2014 16:44:30 +0100 Subject: [PATCH] COPKGManager: use fclose instead pclose my_popen returns a stream pointed to a file descriptor NOTE: documentation for some bent functions in helpers.cpp would be nice! --- src/gui/opkg_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/opkg_manager.cpp b/src/gui/opkg_manager.cpp index 23d899b99..546b55f7b 100644 --- a/src/gui/opkg_manager.cpp +++ b/src/gui/opkg_manager.cpp @@ -411,7 +411,7 @@ void COPKGManager::getPkgData(const int pkg_content_id) } } - pclose(f); + fclose(f); } string COPKGManager::getBlankPkgName(const string& line)