Prime modifiche per compatibilita' UNIX
git-svn-id: svn://10.65.10.50/trunk@33 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
80624b0d87
commit
ea150a8931
@ -59,6 +59,7 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
#include "arclib.h"
|
#include "arclib.h"
|
||||||
|
#include <utility.h>
|
||||||
#pragma hdrstop
|
#pragma hdrstop
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -333,9 +333,9 @@ ALArchive::AddWildCardFiles( ALEntryList AL_DLL_FAR & list,
|
|||||||
ALWildCardExpander files( wild_spec, traverse_flag );
|
ALWildCardExpander files( wild_spec, traverse_flag );
|
||||||
int count = 0;
|
int count = 0;
|
||||||
|
|
||||||
char *new_name;
|
char *new_name; ALEntry* dummy;
|
||||||
while ( ( new_name = files.GetNextFile() ) != 0 ) {
|
while ( ( new_name = files.GetNextFile() ) != 0 ) {
|
||||||
new ALEntry( list,
|
dummy = new ALEntry( list,
|
||||||
new ALFile( new_name ),
|
new ALFile( new_name ),
|
||||||
new ALGreenleafEngine( compression_level ) );
|
new ALGreenleafEngine( compression_level ) );
|
||||||
count++;
|
count++;
|
||||||
|
@ -1396,7 +1396,7 @@ int AL_PROTO ALArchiveBase::Delete( ALEntryList AL_DLL_FAR &list,
|
|||||||
list.ToggleMarks();
|
list.ToggleMarks();
|
||||||
ALName temp = mpArchiveStorageObject->mName;
|
ALName temp = mpArchiveStorageObject->mName;
|
||||||
mpArchiveStorageObject->RenameToBackup();
|
mpArchiveStorageObject->RenameToBackup();
|
||||||
destination.mpArchiveStorageObject->Rename( temp );
|
destination.mpArchiveStorageObject->Rename( (const char*)temp );
|
||||||
if ( destination.mStatus < 0 )
|
if ( destination.mStatus < 0 )
|
||||||
return mStatus = destination.mStatus;
|
return mStatus = destination.mStatus;
|
||||||
return mStatus;
|
return mStatus;
|
||||||
|
@ -34,7 +34,9 @@
|
|||||||
#include "arclib.h"
|
#include "arclib.h"
|
||||||
#pragma hdrstop
|
#pragma hdrstop
|
||||||
|
|
||||||
|
#if XVT_OS != XVT_OS_SCOUNIX
|
||||||
#include <dos.h>
|
#include <dos.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "fileattr.h"
|
#include "fileattr.h"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user