2018-11-20 18:07:44 +01:00
|
|
|
From: Egbert Eich <eich@suse.com>
|
|
|
|
Date: Tue Nov 20 11:54:02 2018 +0100
|
|
|
|
Subject: removed deprecated xdaemon
|
|
|
|
Patch-mainline: Not yet
|
|
|
|
Git-commit: b39551df0f202203c16d4e9a9a7b640691acf882
|
|
|
|
References: bsc#1084125
|
2018-04-12 18:42:36 +02:00
|
|
|
|
2018-11-20 18:07:44 +01:00
|
|
|
Signed-off-by: Egbert Eich <eich@suse.com>
|
2018-04-12 18:42:36 +02:00
|
|
|
---
|
2018-11-20 18:07:44 +01:00
|
|
|
slurm-18.08.3/src/common/daemonize.c | 12 ------------
|
|
|
|
slurm-18.08.3/src/common/daemonize.h | 1 -
|
|
|
|
2 files changed, 13 deletions(-)
|
|
|
|
diff --git a/slurm-18.08.3/src/common/daemonize.c b/slurm-18.08.3/src/common/daemonize.c
|
|
|
|
index fee9d60..bec8202 100644
|
2018-04-12 18:42:36 +02:00
|
|
|
--- a/src/common/daemonize.c
|
|
|
|
+++ b/src/common/daemonize.c
|
2018-11-20 18:07:44 +01:00
|
|
|
@@ -138,18 +138,6 @@ void xdaemon_finish(int fd)
|
2018-04-12 18:42:36 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
-/*
|
|
|
|
- * keep depercated api
|
|
|
|
- */
|
|
|
|
-
|
|
|
|
-int xdaemon(void)
|
|
|
|
-{
|
|
|
|
- int ret_val;
|
|
|
|
- ret_val= xdaemon_init();
|
|
|
|
- xdaemon_finish(ret_val);
|
|
|
|
- return ret_val;
|
|
|
|
-}
|
2018-11-20 18:07:44 +01:00
|
|
|
-
|
2018-04-12 18:42:36 +02:00
|
|
|
/*
|
|
|
|
* Read and return pid stored in pidfile.
|
2018-11-20 18:07:44 +01:00
|
|
|
* Returns 0 if file doesn't exist or pid cannot be read.
|
|
|
|
diff --git a/slurm-18.08.3/src/common/daemonize.h b/slurm-18.08.3/src/common/daemonize.h
|
|
|
|
index 8b60b4f..b7cb625 100644
|
2018-04-12 18:42:36 +02:00
|
|
|
--- a/src/common/daemonize.h
|
|
|
|
+++ b/src/common/daemonize.h
|
2018-06-11 12:31:14 +02:00
|
|
|
@@ -44,7 +44,6 @@
|
|
|
|
* Start fork process into background and inherit new session.
|
|
|
|
*
|
2018-04-12 18:42:36 +02:00
|
|
|
*/
|
|
|
|
-extern int xdaemon(void);
|
2018-06-11 12:31:14 +02:00
|
|
|
extern int xdaemon_init(void);
|
|
|
|
|
|
|
|
/*
|