CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
preserve owner/permissions when extracting
[pkgutils-cross.git] / pkgutil.h
index 98069002c203ccd51a480fcd94f271baece1ea23..03409df1b76860ab13d9fc02942af110d388fdba 100644 (file)
--- a/pkgutil.h
+++ b/pkgutil.h
@@ -70,7 +70,7 @@ protected:
 
        // Tar.gz
        pair<string, pkginfo_t> pkg_open(const string& filename) const;
-       void pkg_install(const string& filename, const set<string>& keep_list) const;
+       void pkg_install(const string& filename, const set<string>& keep_list, const set<string>& non_install_files) const;
        void pkg_footprint(string& filename) const;
        void ldconfig() const;
 
@@ -91,6 +91,8 @@ class runtime_error_with_errno : public runtime_error {
 public:
        explicit runtime_error_with_errno(const string& msg) throw()
                : runtime_error(msg + string(": ") + strerror(errno)) {}
+       explicit runtime_error_with_errno(const string& msg, int e) throw()
+               : runtime_error(msg + string(": ") + strerror(e)) {}
 };
 
 // Utility functions