version 1.55, 2010/12/14 15:46:24
|
version 1.58, 2011/03/06 16:44:15
|
Line 1
|
Line 1
|
/* |
/* |
================================================================================ |
================================================================================ |
RPL/2 (R) version 4.0.20 |
RPL/2 (R) version 4.0.21 |
Copyright (C) 1989-2010 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 107 rplinit(int argc, char *argv[], unsigned
|
Line 107 rplinit(int argc, char *argv[], unsigned
|
|
|
errno = 0; |
errno = 0; |
|
|
|
# ifdef DMALLOC |
|
atexit(dmalloc_shutdown()); |
|
# endif |
|
|
# ifdef DEBUG_MEMOIRE |
# ifdef DEBUG_MEMOIRE |
debug_memoire_initialisation(); |
debug_memoire_initialisation(); |
# endif |
# endif |
Line 307 rplinit(int argc, char *argv[], unsigned
|
Line 311 rplinit(int argc, char *argv[], unsigned
|
|
|
if ((*s_etat_processus).langue == 'F') |
if ((*s_etat_processus).langue == 'F') |
{ |
{ |
printf("+++Copyright (C) 1989 à 2009, 2010 BERTRAND Joël\n"); |
printf("+++Copyright (C) 1989 à 2010, 2011 BERTRAND Joël\n"); |
} |
} |
else |
else |
{ |
{ |
printf("+++Copyright (C) 1989 to 2009, 2010 BERTRAND Joel\n"); |
printf("+++Copyright (C) 1989 to 2010, 2011 BERTRAND Joel\n"); |
} |
} |
|
|
if (getenv("HOME") != NULL) |
if (getenv("HOME") != NULL) |
Line 3575 rplinit(int argc, char *argv[], unsigned
|
Line 3579 rplinit(int argc, char *argv[], unsigned
|
} |
} |
} |
} |
|
|
# if !defined(Cygwin) && !defined(OpenBSD) |
|
do |
|
{ |
|
(*s_etat_processus).pile_signal.ss_flags = SS_DISABLE; |
|
} while(sigaltstack(&((*s_etat_processus).pile_signal), NULL) != 0); |
|
free((*s_etat_processus).pile_signal.ss_sp); |
|
# endif |
|
|
|
closelog(); |
closelog(); |
|
|
pthread_mutex_destroy(&((*s_etat_processus).protection_liste_mutexes)); |
pthread_mutex_destroy(&((*s_etat_processus).protection_liste_mutexes)); |