Fix some compiler warnings
Mattias Ellert
2 years ago
|
0 |
globus-gram-job-manager-sge (3.2-2) unstable; urgency=medium
|
|
1 |
|
|
2 |
* Fix some compiler warnings
|
|
3 |
|
|
4 |
-- Mattias Ellert <mattias.ellert@physics.uu.se> Thu, 12 May 2022 16:41:41 +0200
|
|
5 |
|
0 | 6 |
globus-gram-job-manager-sge (3.2-1) unstable; urgency=medium
|
1 | 7 |
|
2 | 8 |
* Typo fixes
|
5 | 5 |
pkg-config,
|
6 | 6 |
libglobus-common-dev (>= 15),
|
7 | 7 |
libglobus-scheduler-event-generator-dev (>= 4)
|
8 | |
Standards-Version: 4.6.0
|
|
8 |
Standards-Version: 4.6.1
|
9 | 9 |
Section: net
|
10 | 10 |
Vcs-Browser: https://salsa.debian.org/ellert/globus-gram-job-manager-sge
|
11 | 11 |
Vcs-Git: https://salsa.debian.org/ellert/globus-gram-job-manager-sge.git
|
16 | 16 |
|
17 | 17 |
Files: debian/*
|
18 | 18 |
Copyright:
|
19 | |
2008-2021 Mattias Ellert <mattias.ellert@physics.uu.se>
|
|
19 |
2008-2022 Mattias Ellert <mattias.ellert@physics.uu.se>
|
20 | 20 |
2010-2013 Initiative for Globus in Europe (IGE), http://www.ige-project.eu/
|
21 | 21 |
License: Apache-2.0
|
22 | 22 |
|
|
0 |
diff --git a/seg/seg_sge_module.c b/seg/seg_sge_module.c
|
|
1 |
index dc87b65668..e976bc5eb8 100644
|
|
2 |
--- a/seg/seg_sge_module.c
|
|
3 |
+++ b/seg/seg_sge_module.c
|
|
4 |
@@ -7,12 +7,13 @@
|
|
5 |
|
|
6 |
/* This #define is needed for the correct operation of the GLIBC strptime
|
|
7 |
* function. */
|
|
8 |
-#define _XOPEN_SOURCE 1
|
|
9 |
+#define _XOPEN_SOURCE 600
|
|
10 |
|
|
11 |
#include "globus_common.h"
|
|
12 |
#include "globus_scheduler_event_generator.h"
|
|
13 |
#include "version.h"
|
|
14 |
|
|
15 |
+#include <stdlib.h>
|
|
16 |
#include <string.h>
|
|
17 |
|
|
18 |
#define SEG_SGE_DEBUG(level, message) \
|
|
19 |
@@ -483,7 +484,6 @@ free_sge_cell:
|
|
20 |
{
|
|
21 |
free(sge_cell);
|
|
22 |
}
|
|
23 |
-free_sge_root:
|
|
24 |
if (sge_root != NULL)
|
|
25 |
{
|
|
26 |
free(sge_root);
|
|
0 |
# Fix some compiler warnings
|
|
1 |
# https://github.com/gridcf/gct/pull/179
|
|
2 |
globus-gram-job-manager-sge-warn.patch
|