Patch level :2.0 nopatch
Files correlati :777.exe Ricompilazione Demo : [ ] Commento :aggiornati files con xvt_fsys_.. al posto di os_.. git-svn-id: svn://10.65.10.50/trunk@10973 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
081de365e0
commit
115ef5ca7e
@ -1098,7 +1098,7 @@ bool TTrasferimento770::split(const char* path)
|
||||
TRecord770 rec;
|
||||
long records_per_disk = 0;
|
||||
int volumes = 1;
|
||||
const bool magnetic = ::os_is_removable_drive(path);
|
||||
const bool magnetic = ::xvt_fsys_is_removable_drive(path) !=0;
|
||||
if (magnetic)
|
||||
{
|
||||
if (!yesno_box("Inserire il primo disco del trasferimento nell'unita' %s\n"
|
||||
@ -1106,7 +1106,7 @@ bool TTrasferimento770::split(const char* path)
|
||||
"Si desidera iniziare il trasferimento?", path))
|
||||
return FALSE;
|
||||
|
||||
unsigned long disk_size = ::os_get_disk_size(path);
|
||||
unsigned long disk_size = ::xvt_fsys_get_disk_size(path, 'b') != 0;
|
||||
records_per_disk = long(disk_size / TOTAL_SIZE) - 3; // Tolgo A,B,Z
|
||||
volumes = int((records-1)/records_per_disk)+1;
|
||||
}
|
||||
|
@ -639,7 +639,7 @@ bool TTrasferimentoDylog::split(const char* path)
|
||||
|
||||
long records_per_disk = 0;
|
||||
int volumes = 1;
|
||||
const bool magnetic = ::os_is_removable_drive(path);
|
||||
const bool magnetic = ::xvt_fsys_is_removable_drive(path) != 0;
|
||||
if (magnetic)
|
||||
{
|
||||
if (!yesno_box("Inserire il primo disco del trasferimento nell'unita' %s\n"
|
||||
@ -647,7 +647,7 @@ bool TTrasferimentoDylog::split(const char* path)
|
||||
"Si desidera iniziare il trasferimento?", path))
|
||||
return FALSE;
|
||||
|
||||
unsigned long disk_size = ::os_get_disk_size(path);
|
||||
unsigned long disk_size = ::xvt_fsys_get_disk_size(path, 'b') != 0;
|
||||
records_per_disk = long(disk_size / REC_SIZE - 2);
|
||||
volumes = int((records-1)/records_per_disk)+1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user