Commit 810fed97 authored by Tim Wickberg's avatar Tim Wickberg
Browse files

Rework build_path() in slurmstepd to fix long-paths and spaces in names.

- Previously long paths/filenames were truncated at 256 characters.
  Use PATH_MAX instead.
- Function previously truncated the executable name at the first
  space character during own string copy function. Replace with
  strlcpy.
- Refactor to remove extraneous temp variables, use strlcpy
  instead of snprintf, getenvp instead of local env parser.
parent 128e7eab
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment