version 1.28, 2011/07/22 07:38:36
|
version 1.32, 2011/11/17 17:20:29
|
Line 1
|
Line 1
|
/* |
/* |
================================================================================ |
================================================================================ |
RPL/2 (R) version 4.1.1 |
RPL/2 (R) version 4.1.4 |
Copyright (C) 1989-2011 Dr. BERTRAND Joël |
Copyright (C) 1989-2011 Dr. BERTRAND Joël |
|
|
This file is part of RPL/2. |
This file is part of RPL/2. |
Line 674 instruction_chr(struct_processus *s_etat
|
Line 674 instruction_chr(struct_processus *s_etat
|
} |
} |
else |
else |
{ |
{ |
liberation(s_etat_processus, s_objet_argument); |
if ((s_objet_resultat = allocation(s_etat_processus, CHN)) == NULL) |
|
{ |
|
(*s_etat_processus).erreur_systeme = d_es_allocation_memoire; |
|
return; |
|
} |
|
|
(*s_etat_processus).erreur_execution = d_ex_argument_invalide; |
if (((*s_objet_resultat).objet = malloc(5 * sizeof(unsigned char))) |
return; |
== NULL) |
|
{ |
|
(*s_etat_processus).erreur_systeme = d_es_allocation_memoire; |
|
return; |
|
} |
|
|
|
sprintf((unsigned char *) (*s_objet_resultat).objet, "\\x%02X", |
|
(unsigned char) (*((integer8 *) |
|
(*s_objet_argument).objet))); |
} |
} |
} |
} |
|
|