From a851143d1404896190f9b55468330811791f6474 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Sat, 14 Sep 2002 19:10:40 +0000 Subject: [PATCH] * 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 :-)) --- alliance/src/sea/src/DEF_drive.c | 4 ++-- alliance/src/sea/src/util_Defs.h | 4 ++-- alliance/src/sea/src/util_Sys.c | 15 ++++++++------- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/alliance/src/sea/src/DEF_drive.c b/alliance/src/sea/src/DEF_drive.c index 76e22e73..e2f77ae3 100644 --- a/alliance/src/sea/src/DEF_drive.c +++ b/alliance/src/sea/src/DEF_drive.c @@ -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)); - if ((aFlags & F_SEG_WIDTH) || (apPhseg->WIDTH > MBKSCALE(2))) + if (aFlags & F_SEG_WIDTH) fprintf (DEF_FILE, "%ld ", MBK2DEF_length (apPhseg->WIDTH)); if (aFlags & F_SEG_STRIPE) diff --git a/alliance/src/sea/src/util_Defs.h b/alliance/src/sea/src/util_Defs.h index 280bc182..6bfeaba6 100644 --- a/alliance/src/sea/src/util_Defs.h +++ b/alliance/src/sea/src/util_Defs.h @@ -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. */ extern void trapInit __FP((void)); - extern void sendGSignal __FP((int aSig)); + /*extern void sendGSignal __FP((int aSig));*/ extern void setBinName __FP((char *asName)); /* Errors printing functions. */ diff --git a/alliance/src/sea/src/util_Sys.c b/alliance/src/sea/src/util_Sys.c index 785128de..85bb55a2 100644 --- a/alliance/src/sea/src/util_Sys.c +++ b/alliance/src/sea/src/util_Sys.c @@ -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() { /* 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. */ if (signal(SIGTERM, trapSig) == SIG_ERR) { trapSig (C_SIGTFLT); } @@ -136,11 +136,12 @@ extern void trapInit() * Function : "sendGSignal()". */ -extern void sendGSignal(aSig) - int aSig; -{ - gsignal (aSig); -} +/* extern void sendGSignal(aSig) + * int aSig; + * { + * gsignal (aSig); + * } + */ /* ------------------------------------------------------------------