Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
17bb1011
Commit
17bb1011
authored
13 years ago
by
Pär Andersson
Browse files
Options
Downloads
Patches
Plain Diff
Size parameter of xduparray also needs to be uint32_t
parent
24a538ea
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/slurmctld/proc_req.c
+2
-2
2 additions, 2 deletions
src/slurmctld/proc_req.c
src/slurmctld/proc_req.h
+1
-1
1 addition, 1 deletion
src/slurmctld/proc_req.h
with
3 additions
and
3 deletions
src/slurmctld/proc_req.c
+
2
−
2
View file @
17bb1011
...
...
@@ -3501,7 +3501,7 @@ inline static void _slurm_rpc_checkpoint_task_comp(slurm_msg_t * msg)
/* Copy an array of type char **, xmalloc() the array and xstrdup() the
* strings in the array */
extern
char
**
xduparray
(
uint
16
_t
size
,
char
**
array
)
xduparray
(
uint
32
_t
size
,
char
**
array
)
{
int
i
;
char
**
result
;
...
...
@@ -3519,7 +3519,7 @@ xduparray(uint16_t size, char ** array)
/* Like xduparray(), but performs one xmalloc(). The output format of this
* must be identical to _read_data_array_from_file() */
static
char
**
_xduparray2
(
uint
16
_t
size
,
char
**
array
)
_xduparray2
(
uint
32
_t
size
,
char
**
array
)
{
int
i
,
len
=
0
;
char
*
ptr
,
**
result
;
...
...
This diff is collapsed.
Click to expand it.
src/slurmctld/proc_req.h
+
1
−
1
View file @
17bb1011
...
...
@@ -74,7 +74,7 @@ extern int slurm_fail_job(uint32_t job_id);
/* Copy an array of type char **, xmalloc() the array and xstrdup() the
* strings in the array */
extern
char
**
xduparray
(
uint
16
_t
size
,
char
**
array
);
extern
char
**
xduparray
(
uint
32
_t
size
,
char
**
array
);
#endif
/* !_HAVE_PROC_REQ_H */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment