Roxen.git/
server/
modules/
filesystems/
tarfs.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2015-10-23
2015-10-23 13:54:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>
84aee5be36612de01de322be97ccf4ab5ee8c06b (
5
lines) (+
4
/-
1
)
[
Show
|
Annotate
]
Branch:
6983e3e3128b93948cdd93fe9bc273ff8cac3e63
Merge commit '8a2ce4a87' into patches/bug7582
* commit '8a2ce4a87': (7413 commits)
1:
+
// This is a roxen module. Copyright © 2000 - 2009, Roxen IS.
+
inherit "module";
-
constant cvs_version= "
$Id: tarfs.pike,v 1.8 2001/08/24 14:46:09 nilsson Exp $
";
+
constant cvs_version= "
$Id$
";
// The Filesystem.Tar module is not threadsafe. constant thread_safe=0;
31:
"root/dir/)") ); }
-
string mp
, error_msg
;
+
string mp;
Filesystem.Tar tar;
48:
tar = 0; if( catch(tar = Filesystem.Tar( tf )) ) {
-
report_error( "Failed to open tar-file "+tf+"!" );
+
report_error( "Failed to open tar-file "+tf+"!
\n
" );
tar = 0; } else if( strlen( path ) )