By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release. View | Details | Raw Unified | Return to bug 1560
Collapse All | Expand All

(-)a/krusader/VFS/temp_vfs.cpp (-1 / +10 lines)
Lines 56-62 temp_vfs::temp_vfs( TQString origin, TQString type, TQWidget* panel, bool ): Link Here
56
}
56
}
57
57
58
temp_vfs::~temp_vfs(){
58
temp_vfs::~temp_vfs(){
59
	if( vfs_type == "-iso" ){
59
	if( tmpvfs_type == ISO ){
60
		// unmount the ISO image
60
		// unmount the ISO image
61
    KShellProcess umount;
61
    KShellProcess umount;
62
		umount << "umount -f" << tmpDir;
62
		umount << "umount -f" << tmpDir;
Lines 94-99 bool temp_vfs::vfs_refresh(const KURL& origin){ Link Here
94
}
94
}
95
95
96
void temp_vfs::handleAceArj(TQString origin, TQString type){
96
void temp_vfs::handleAceArj(TQString origin, TQString type){
97
    if (type == "-ace") {
98
	tmpvfs_type = ACE;
99
    }
100
    else if (type == "-arj") {
101
	tmpvfs_type = ARJ;
102
    }
103
97
	// for ace and arj we just unpack to the tmpDir
104
	// for ace and arj we just unpack to the tmpDir
98
	if( !KRarcHandler::arcHandled(type) ){
105
	if( !KRarcHandler::arcHandled(type) ){
99
  	if (!quietMode) KMessageBox::error(krApp,"This archive type is NOT supported");
106
  	if (!quietMode) KMessageBox::error(krApp,"This archive type is NOT supported");
Lines 117-122 void temp_vfs::handleRpm(TQString origin){ Link Here
117
	rpm.clearArguments();
124
	rpm.clearArguments();
118
	rpm << "rpm -lpq"<<"\""+origin+"\""+" > "+tmpDir+"/filelist.txt";
125
	rpm << "rpm -lpq"<<"\""+origin+"\""+" > "+tmpDir+"/filelist.txt";
119
	rpm.start(TDEProcess::Block);
126
	rpm.start(TDEProcess::Block);
127
	tmpvfs_type = RPM;
120
}
128
}
121
129
122
void temp_vfs::handleIso(TQString origin){
130
void temp_vfs::handleIso(TQString origin){
Lines 124-127 void temp_vfs::handleIso(TQString origin){ Link Here
124
	KShellProcess mount;
132
	KShellProcess mount;
125
	mount << KrServices::fullPathName( "mount" ) << "-o loop" << origin << tmpDir;
133
	mount << KrServices::fullPathName( "mount" ) << "-o loop" << origin << tmpDir;
126
	mount.start(TDEProcess::Block);
134
	mount.start(TDEProcess::Block);
135
	tmpvfs_type = ISO;
127
}
136
}
(-)a/krusader/VFS/temp_vfs.h (+3 lines)
Lines 37-42 Link Here
37
37
38
class temp_vfs : public normal_vfs  {
38
class temp_vfs : public normal_vfs  {
39
public: 
39
public: 
40
	enum TMPVFS_TYPE{ERROR=0,ACE,ARJ,RPM,ISO};
41
40
	temp_vfs( TQString origin, TQString type, TQWidget* panel, bool writeable);
42
	temp_vfs( TQString origin, TQString type, TQWidget* panel, bool writeable);
41
	~temp_vfs();
43
	~temp_vfs();
42
	TQString vfs_workingDir();
44
	TQString vfs_workingDir();
Lines 50-55 protected: Link Here
50
	void handleAceArj(TQString origin, TQString type);
52
	void handleAceArj(TQString origin, TQString type);
51
	void handleRpm(TQString origin);
53
	void handleRpm(TQString origin);
52
	void handleIso(TQString origin);
54
	void handleIso(TQString origin);
55
	TMPVFS_TYPE tmpvfs_type;     //< the tmp vfs type.
53
  TQString tmpDir;
56
  TQString tmpDir;
54
57
55
};
58
};

Return to bug 1560