Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information