version 1.30, 2011/07/25 07:44:59
|
version 1.36, 2012/01/05 10:19:04
|
Line 1
|
Line 1
|
/* |
/* |
================================================================================ |
================================================================================ |
RPL/2 (R) version 4.1.2 |
RPL/2 (R) version 4.1.5 |
Copyright (C) 1989-2011 Dr. BERTRAND Joël |
Copyright (C) 1989-2012 Dr. BERTRAND Joël |
|
|
This file is part of RPL/2. |
This file is part of RPL/2. |
|
|
Line 500 instruction_version(struct_processus *s_
|
Line 500 instruction_version(struct_processus *s_
|
return; |
return; |
} |
} |
|
|
if (((*(*l_element_courant).donnee).objet = malloc((strlen(d_date_en_rpl) |
if (((*(*l_element_courant).donnee).objet = date_compilation()) == NULL) |
+ 1) * sizeof(unsigned char))) == NULL) |
|
{ |
{ |
(*s_etat_processus).erreur_systeme = d_es_allocation_memoire; |
(*s_etat_processus).erreur_systeme = d_es_allocation_memoire; |
return; |
return; |
} |
} |
|
|
strcpy((unsigned char *) (*(*l_element_courant).donnee).objet, |
|
d_date_en_rpl); |
|
|
|
/* |
/* |
* Ajout des options de compilation |
* Ajout des options de compilation |
*/ |
*/ |
Line 909 instruction_version(struct_processus *s_
|
Line 905 instruction_version(struct_processus *s_
|
return; |
return; |
} |
} |
|
|
sprintf(tampon, "%d BITS ABI", sizeof(void *) * 8); |
sprintf(tampon, "%zu BITS ABI", sizeof(void *) * 8); |
|
|
if (((*(*l_element_courant).donnee).objet = malloc((strlen(tampon) + 1 ) |
if (((*(*l_element_courant).donnee).objet = malloc((strlen(tampon) + 1 ) |
* sizeof(unsigned char))) == NULL) |
* sizeof(unsigned char))) == NULL) |