* genlib/src/util_Defs.h,

genlib/src/util_Sys.c :
   - Suppression de "ssignal()" & "gsignal()" pour faire plaisir aux
       naufrages de BSD. Juste pour faire de la polemique, ces fonctions
       sont bien standart... sous Unix S V R 4. Mais c'est du vice parce
       qu'en fait je ne m'en servais pas :-))
This commit is contained in:
Jean-Paul Chaput 2002-09-14 19:10:40 +00:00
parent 2f3c1eb3e4
commit a851143d14
3 changed files with 12 additions and 11 deletions

View File

@ -1,5 +1,5 @@
/* /*
* $Id: DEF_drive.c,v 1.2 2002/07/16 09:57:00 jpc Exp $ * $Id: DEF_drive.c,v 1.3 2002/09/14 19:10:40 jpc Exp $
* *
* /----------------------------------------------------------------\ * /----------------------------------------------------------------\
* | | * | |
@ -1342,7 +1342,7 @@ static void fprintWIRESEG(apPhseg, aFlags)
{ {
fprintf (DEF_FILE, "%s ", DEF_layer2a (apPhseg->LAYER)); fprintf (DEF_FILE, "%s ", DEF_layer2a (apPhseg->LAYER));
if ((aFlags & F_SEG_WIDTH) || (apPhseg->WIDTH > MBKSCALE(2))) if (aFlags & F_SEG_WIDTH)
fprintf (DEF_FILE, "%ld ", MBK2DEF_length (apPhseg->WIDTH)); fprintf (DEF_FILE, "%ld ", MBK2DEF_length (apPhseg->WIDTH));
if (aFlags & F_SEG_STRIPE) if (aFlags & F_SEG_STRIPE)

View File

@ -1,5 +1,5 @@
/* /*
* $Id: util_Defs.h,v 1.2 2002/05/11 17:03:38 xtof Exp $ * $Id: util_Defs.h,v 1.3 2002/09/14 19:10:40 jpc Exp $
* *
* /----------------------------------------------------------------\ * /----------------------------------------------------------------\
* | | * | |
@ -122,7 +122,7 @@
/* Interruptions handling functions. */ /* Interruptions handling functions. */
extern void trapInit __FP((void)); extern void trapInit __FP((void));
extern void sendGSignal __FP((int aSig)); /*extern void sendGSignal __FP((int aSig));*/
extern void setBinName __FP((char *asName)); extern void setBinName __FP((char *asName));
/* Errors printing functions. */ /* Errors printing functions. */

View File

@ -1,5 +1,5 @@
/* /*
* $Id: util_Sys.c,v 1.1 2002/04/25 16:16:20 jpc Exp $ * $Id: util_Sys.c,v 1.2 2002/09/14 19:10:40 jpc Exp $
* *
* /----------------------------------------------------------------\ * /----------------------------------------------------------------\
* | | * | |
@ -120,7 +120,7 @@ static void trapSig(aSig)
extern void trapInit() extern void trapInit()
{ {
/* Set the trap function for the ERROR signal. */ /* Set the trap function for the ERROR signal. */
if (ssignal (C_SIGERR, trapSig) == SIG_ERR) { trapSig (C_SIGTFLT); } /* if (ssignal (C_SIGERR, trapSig) == SIG_ERR) { trapSig (C_SIGTFLT); } */
/* Set the trap function for SIGTERM signal. */ /* Set the trap function for SIGTERM signal. */
if (signal(SIGTERM, trapSig) == SIG_ERR) { trapSig (C_SIGTFLT); } if (signal(SIGTERM, trapSig) == SIG_ERR) { trapSig (C_SIGTFLT); }
@ -136,11 +136,12 @@ extern void trapInit()
* Function : "sendGSignal()". * Function : "sendGSignal()".
*/ */
extern void sendGSignal(aSig) /* extern void sendGSignal(aSig)
int aSig; * int aSig;
{ * {
gsignal (aSig); * gsignal (aSig);
} * }
*/
/* ------------------------------------------------------------------ /* ------------------------------------------------------------------