Patch level : 2.1 nopatch
Files correlati : Ricompilazione Demo : [ ] Commento : Modifiche dalla versione LInux sulla 2.1 git-svn-id: svn://10.65.10.50/trunk@11860 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
a8c90a9448
commit
aaced28489
@ -300,7 +300,7 @@ void CChsize(S, Name, Len, Base, MaxSec)
|
||||
#endif
|
||||
if ((S->IOR = CIOResult()) != NoErr) return ;
|
||||
#ifdef WIN32
|
||||
if (chsize(S->F, ((RecNoType) MaxSec)*BlockLenIO) == -1)#else
|
||||
if (chsize(S->F, ((RecNoType) MaxSec)*BlockLenIO) == -1)
|
||||
#else
|
||||
if (lseek(S->F, ((RecNoType) MaxSec)*BlockLenIO, SEEK_SET) == -1)
|
||||
#endif
|
||||
|
@ -420,13 +420,14 @@ const char* CGetCampoIni(void)
|
||||
{
|
||||
char exedir[_MAX_PATH], path[_MAX_PATH];
|
||||
DIRECTORY dir;
|
||||
#ifdef WIN32
|
||||
BOOLEAN bFound = FALSE;
|
||||
#endif
|
||||
|
||||
// Nelle installazioni sfigate con programmi in rete cerca di stabilire il percorso locale di Campo.ini
|
||||
xvt_fsys_get_default_dir(&dir);
|
||||
xvt_fsys_convert_dir_to_str(&dir, exedir, sizeof(exedir));
|
||||
#ifdef WIN32
|
||||
BOOLEAN bFound = FALSE;
|
||||
|
||||
if (xvt_fsys_is_network_drive(exedir))
|
||||
{
|
||||
bFound = CGetCampoStpValue("CampoIni", path, sizeof(path));
|
||||
|
@ -289,7 +289,7 @@ void TRelation::restore_status()
|
||||
{
|
||||
int i;
|
||||
|
||||
for (int i = _files.last(); i >= 0 ; i--)
|
||||
for (i = _files.last(); i >= 0 ; i--)
|
||||
{
|
||||
const int err = _status.get_int(i*3);
|
||||
const TRecnotype recno = _status.get_long();
|
||||
|
Loading…
x
Reference in New Issue
Block a user