Skip to content
Snippets Groups Projects
  • Tim Wickberg's avatar
    581e811c
    Cleanup slurm_sprint_partition_info / slurm_sprint_reservation_info · 581e811c
    Tim Wickberg authored
    Handle unexpectedly large lines for hostlists. (Bug 2333.)
    
    While here rework to avoid extraneous xstrcat calls by using
    xstrfmtcat instead of snprintf + xstrcat. Collapse line end into
    own string for readability.
    
    No performance or functional change, aside from removing possible
    line truncation (which will silence additional Coverity warnings).
    
    Removes a double xfree() in slurm_sprint_reservation_info().
    581e811c
    History
    Cleanup slurm_sprint_partition_info / slurm_sprint_reservation_info
    Tim Wickberg authored
    Handle unexpectedly large lines for hostlists. (Bug 2333.)
    
    While here rework to avoid extraneous xstrcat calls by using
    xstrfmtcat instead of snprintf + xstrcat. Collapse line end into
    own string for readability.
    
    No performance or functional change, aside from removing possible
    line truncation (which will silence additional Coverity warnings).
    
    Removes a double xfree() in slurm_sprint_reservation_info().