version 1.45, 2013/03/20 17:11:44
|
version 1.47, 2013/04/01 15:29:35
|
Line 1
|
Line 1
|
/* |
/* |
================================================================================ |
================================================================================ |
RPL/2 (R) version 4.1.13 |
RPL/2 (R) version 4.1.14 |
Copyright (C) 1989-2013 Dr. BERTRAND Joël |
Copyright (C) 1989-2013 Dr. BERTRAND Joël |
|
|
This file is part of RPL/2. |
This file is part of RPL/2. |
Line 387 instruction_backspace(struct_processus *
|
Line 387 instruction_backspace(struct_processus *
|
longueur_effective = longueur_questure; |
longueur_effective = longueur_questure; |
} |
} |
|
|
if (fseek((*descripteur).descripteur_c, position_initiale, |
if (fseek((*descripteur).descripteur_c, |
SEEK_SET) != 0) |
(long) position_initiale, SEEK_SET) != 0) |
{ |
{ |
(*s_etat_processus).erreur_systeme = |
(*s_etat_processus).erreur_systeme = |
d_es_erreur_fichier; |
d_es_erreur_fichier; |
Line 470 instruction_backspace(struct_processus *
|
Line 470 instruction_backspace(struct_processus *
|
position_finale--; |
position_finale--; |
} |
} |
|
|
if (fseek((*descripteur).descripteur_c, position_initiale, |
if (fseek((*descripteur).descripteur_c, |
SEEK_SET) != 0) |
(long) position_initiale, SEEK_SET) != 0) |
{ |
{ |
(*s_etat_processus).erreur_systeme = |
(*s_etat_processus).erreur_systeme = |
d_es_erreur_fichier; |
d_es_erreur_fichier; |
Line 549 instruction_backspace(struct_processus *
|
Line 549 instruction_backspace(struct_processus *
|
return; |
return; |
} |
} |
|
|
if (fseek((*descripteur).descripteur_c, position_finale, |
if (fseek((*descripteur).descripteur_c, (long) position_finale, |
SEEK_SET) != 0) |
SEEK_SET) != 0) |
{ |
{ |
liberation(s_etat_processus, s_objet_argument); |
liberation(s_etat_processus, s_objet_argument); |
Line 610 instruction_backspace(struct_processus *
|
Line 610 instruction_backspace(struct_processus *
|
return; |
return; |
} |
} |
|
|
if (fseek((*descripteur).descripteur_c, position_finale - 1, |
if (fseek((*descripteur).descripteur_c, |
SEEK_SET) != 0) |
((long) position_finale) - 1, SEEK_SET) != 0) |
{ |
{ |
liberation(s_etat_processus, s_objet_argument); |
liberation(s_etat_processus, s_objet_argument); |
|
|
Line 646 instruction_backspace(struct_processus *
|
Line 646 instruction_backspace(struct_processus *
|
return; |
return; |
} |
} |
|
|
if (fseek((*descripteur).descripteur_c, position_finale |
if (fseek((*descripteur).descripteur_c, |
- nombre_octets, SEEK_SET) != 0) |
((long) (position_finale - nombre_octets)), |
|
SEEK_SET) != 0) |
{ |
{ |
liberation(s_etat_processus, s_objet_argument); |
liberation(s_etat_processus, s_objet_argument); |
|
|
Line 685 instruction_backspace(struct_processus *
|
Line 686 instruction_backspace(struct_processus *
|
if (position_finale - saut >= 0) |
if (position_finale - saut >= 0) |
{ |
{ |
if (fseek((*descripteur).descripteur_c, |
if (fseek((*descripteur).descripteur_c, |
position_finale - saut, SEEK_SET) != 0) |
(long) (position_finale - saut), SEEK_SET) != 0) |
{ |
{ |
liberation(s_etat_processus, s_objet_argument); |
liberation(s_etat_processus, s_objet_argument); |
|
|