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:
villa 1994-08-18 10:40:18 +00:00
parent 80624b0d87
commit ea150a8931
4 changed files with 955 additions and 952 deletions

View File

@ -59,6 +59,7 @@
//
#include "arclib.h"
#include <utility.h>
#pragma hdrstop
//

View File

@ -333,9 +333,9 @@ ALArchive::AddWildCardFiles( ALEntryList AL_DLL_FAR & list,
ALWildCardExpander files( wild_spec, traverse_flag );
int count = 0;
char *new_name;
char *new_name; ALEntry* dummy;
while ( ( new_name = files.GetNextFile() ) != 0 ) {
new ALEntry( list,
dummy = new ALEntry( list,
new ALFile( new_name ),
new ALGreenleafEngine( compression_level ) );
count++;

View File

@ -1396,7 +1396,7 @@ int AL_PROTO ALArchiveBase::Delete( ALEntryList AL_DLL_FAR &list,
list.ToggleMarks();
ALName temp = mpArchiveStorageObject->mName;
mpArchiveStorageObject->RenameToBackup();
destination.mpArchiveStorageObject->Rename( temp );
destination.mpArchiveStorageObject->Rename( (const char*)temp );
if ( destination.mStatus < 0 )
return mStatus = destination.mStatus;
return mStatus;

View File

@ -34,7 +34,9 @@
#include "arclib.h"
#pragma hdrstop
#if XVT_OS != XVT_OS_SCOUNIX
#include <dos.h>
#endif
#include "fileattr.h"