CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Don't mention libtar in README anymore.
[pkgutils-cross.git] / pkgutil.h
index 4c74de5da4a06e2270caf8e3bbf83983510be778..d9503526784d4d3ad52d16dd2b56b54978d73e62 100644 (file)
--- a/pkgutil.h
+++ b/pkgutil.h
@@ -91,13 +91,14 @@ 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
 void assert_argument(char** argv, int argc, int index);
 string itos(unsigned int value);
 string mtos(mode_t mode);
-int unistd_gzopen(char* pathname, int flags, mode_t mode);
 string trim_filename(const string& filename);
 bool file_exists(const string& filename);
 bool file_empty(const string& filename);