Skip to content
Snippets Groups Projects
Commit 5783998f authored by chris's avatar chris
Browse files

remove compress detection changes from tarlib, its handled in the wrapper

darcs-hash:20050927223208-9b6ab-dffa89c68fd62072e5da60133ce3e49cc524966f.gz
parent e653d5cd
No related branches found
No related tags found
No related merge requests found
......@@ -47,8 +47,7 @@ class CompTar
if($p_comptype == COMPRESS_DETECT)
{
if(strtolower(substr($p_filen,-3)) == '.gz') $p_comptype = COMPRESS_GZIP;
// elseif(strtolower(substr($p_filen,-4)) == '.bz2') $p_comptype = COMPRESS_BZIP; -- CS
elseif(preg_match( "/\.bz2?$/", $p_filen)) $p_comptype = COMPRESS_BZIP; //--CS bz or bz2
elseif(strtolower(substr($p_filen,-4)) == '.bz2') $p_comptype = COMPRESS_BZIP;
else $p_comptype = COMPRESS_NONE;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment