Skip to content

mxqsub: Implement --tmpdir argument without units #158

Merged
merged 1 commit into from
May 25, 2024
Merged

mxqsub: Implement --tmpdir argument without units #158

merged 1 commit into from
May 25, 2024

Commits on May 25, 2024

  1. mxqsub: Implement --tmpdir argument without units

    The usage string of mxqsub says, that any size can be given without
    units, in which case Mebibytes is assumed.
    
    This doesn't currently work for --tmpdir, because the function
    mx_strtobytes which is used to convert the string, doesn't accept
    numbers without units.
    
    Try mx_strtou64() first to process numerical argments without a unit.
    Because tmpdir size is stored in Gibibytes and not Mebibytes internally,
    the value needs to be divided by 1024.
    donald committed May 25, 2024
    Configuration menu
    Copy the full SHA
    333912e View commit details
    Browse the repository at this point in the history