Re: [Queue-developers] new intermediate development Queue version
Brought to you by:
wkrebs
|
From: Kai Harrekilde-P. <kh...@ex...> - 2001-02-27 20:31:11
|
QingLong,
I still need to apply the following one-liner on Linux 2.4 to
avoid having queued to dump core upon submitting jobs.
Index: queued.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/queue/queue/queued.c,v
retrieving revision 1.9
diff -u -r1.9 queued.c
--- queued.c 2000/05/06 23:26:55 1.9
+++ queued.c 2001/02/27 20:29:58
@@ -2887,7 +2887,7 @@
static struct {
int r;
enum keyword kwd;
-} rtab[] =3D {
+} rtab[RLIM_NLIMITS] =3D {
#ifdef RLIMIT_CPU
RLIMIT_CPU, K_RLIMITCPU,
#endif
I believe it should be perfectly safe on all platforms.
Regards,
Kai
--=20
Kai Harrekilde-Petersen <kh...@ex...> Exbit Technology A/S
|