• R/O
  • SSH
  • HTTPS

hamigaki: 提交


Commit MetaInfo

修訂1604 (tree)
時間2008-04-24 22:43:58
作者hamigaki

Log Message

missing typename
unix -> posix

Change Summary

差異

--- hamigaki/trunk/hamigaki/archivers/detail/raw_zip_file_source_impl.hpp (revision 1603)
+++ hamigaki/trunk/hamigaki/archivers/detail/raw_zip_file_source_impl.hpp (revision 1604)
@@ -274,7 +274,7 @@
274274 void select_entry(const Path& ph)
275275 {
276276 typedef std::vector<zip_internal_header<Path> > headers_type;
277- typedef headers_type::const_iterator iter_type;
277+ typedef typename headers_type::const_iterator iter_type;
278278
279279 iter_type pos = std::find_if(
280280 headers_.begin(), headers_.end(), zip::header_path_match(ph));
@@ -367,7 +367,7 @@
367367 zip_internal_header<Path> head;
368368 head.os = static_cast<boost::uint8_t>(file_head.made_by >> 8);
369369 // compatibility for Explzh and Archive Utility
370- if (head.os == zip::os::unix)
370+ if (head.os == zip::os::posix)
371371 head.utf8_encoded = true;
372372 head.version =
373373 static_cast<boost::uint8_t>(file_head.needed_to_extract);
--- hamigaki/trunk/hamigaki/archivers/zip/headers.hpp (revision 1603)
+++ hamigaki/trunk/hamigaki/archivers/zip/headers.hpp (revision 1604)
@@ -36,7 +36,7 @@
3636 struct os
3737 {
3838 static const boost::uint8_t ms_dos = 0x00; // NTFS for PKZIP
39- static const boost::uint8_t unix = 0x03; // includes Mac OS X
39+ static const boost::uint8_t posix = 0x03; // includes Mac OS X
4040 static const boost::uint8_t winnt = 0x0B; // used by Info-ZIP, MS
4141 };
4242
Show on old repository browser