Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | pusharg: properly check realloc return value HEAD master | Andrey Alekseenko | 2023-12-08 | 1 | -1/+1 |
| | |||||
* | properly forward errors on exec, return 123 on any exit status 1-254 | Leah Neukirchen | 2023-08-02 | 1 | -8/+27 |
| | | | | | Use the CLOEXEC pipe trick to detect if exec happened; read the errno from the pipe if it wasn't closed due to exec. | ||||
* | formatting tweak | Leah Neukirchen | 2021-04-27 | 1 | -1/+1 |
| | |||||
* | rename shquote to sh_quote, clashes with NetBSD libc | Leah Neukirchen | 2017-11-10 | 1 | -2/+2 |
| | |||||
* | run: print error message when fork(2) failed | Leah Neukirchen | 2017-11-03 | 1 | -2/+3 |
| | |||||
* | run: bail out early when there is no command to run | Leah Neukirchen | 2017-11-03 | 1 | -4/+7 |
| | |||||
* | run: close fd 0 if dup'ing /dev/null fails | Leah Neukirchen | 2017-11-03 | 1 | -1/+4 |
| | |||||
* | perc_subst: typo | Leah Neukirchen | 2017-11-03 | 1 | -1/+1 |
| | |||||
* | parse_jobs: always support -jNx | Leah Neukirchen | 2017-11-03 | 1 | -4/+5 |
| | | | | Else even -j1x breaks on systems with no _SC_NPROCESSORS_ONLN. | ||||
* | parse_jobs: parse -jj as -j0 | Leah Neukirchen | 2017-11-03 | 1 | -1/+3 |
| | |||||
* | tweak synopsis | Leah Neukirchen | 2017-11-03 | 1 | -1/+2 |
| | |||||
* | parse_jobs: avoid out of bounds read | Leah Neukirchen | 2017-11-03 | 1 | -1/+1 |
| | |||||
* | run: save errno before calling other functions | Leah Neukirchen | 2017-11-03 | 1 | -1/+2 |
| | |||||
* | mywait: always return when wait() fails | Leah Neukirchen | 2017-11-03 | 1 | -5/+2 |
| | |||||
* | properly distinguish both main loops | Leah Neukirchen | 2017-11-02 | 1 | -53/+53 |
| | |||||
* | fix use of -p and -s together | Leah Neukirchen | 2017-11-02 | 1 | -7/+7 |
| | |||||
* | wait for enough jobs to finish before asking for more input | Leah Neukirchen | 2017-11-02 | 1 | -1/+9 |
| | | | | | This helps -F fail immediately after execution, not after reading the next line. | ||||
* | use /bin/sh as $0 for shell scripts when using -s | Leah Neukirchen | 2017-10-17 | 1 | -2/+2 |
| | | | | | Using - as $0 results in undefined behavior, and actually makes FreeBSD /bin/sh ignore the - and use the next argument as script name. | ||||
* | perc_match: patterns with ** match against full path too | Leah Neukirchen | 2017-10-12 | 1 | -2/+2 |
| | |||||
* | perc: plain % should not match empty string | Leah Neukirchen | 2017-10-12 | 1 | -1/+1 |
| | |||||
* | open stderr linewise when using it for tracing | Leah Neukirchen | 2017-10-09 | 1 | -3/+15 |
| | |||||
* | add -q for quiet mode to redirect output of programs to /dev/null | Leah Neukirchen | 2017-10-09 | 1 | -3/+12 |
| | |||||
* | use replace-arg for percent rules too (instead of @) | Leah Neukirchen | 2017-10-09 | 1 | -3/+3 |
| | |||||
* | allow \ escapes in ranges | Leah Neukirchen | 2017-10-09 | 1 | -1/+6 |
| | |||||
* | small cleanup | Leah Neukirchen | 2017-10-09 | 1 | -8/+9 |
| | |||||
* | implement a variant of fnmatch for percent matching | Leah Neukirchen | 2017-10-09 | 1 | -16/+126 |
| | |||||
* | whitespace cleanup | Leah Neukirchen | 2017-09-24 | 1 | -5/+5 |
| | |||||
* | percent patterns without / match against basenames only | Leah Neukirchen | 2017-09-24 | 1 | -2/+22 |
| | |||||
* | add -p for percent rules | Leah Neukirchen | 2017-09-24 | 1 | -3/+108 |
| | |||||
* | style | Leah Neukirchen | 2017-08-31 | 1 | -7/+7 |
| | |||||
* | xe: prefix lines with job on -LL | Leah Neukirchen | 2017-07-10 | 1 | -1/+1 |
| | |||||
* | xe: -L: print job ids, not PIDs | Leah Neukirchen | 2017-07-10 | 1 | -15/+23 |
| | | | | PID can be reused during long runs | ||||
* | xe: add -L for output line buffering | Leah Neukirchen | 2017-07-10 | 1 | -5/+53 |
| | | | | | We spawn one logging process per job, this is not very efficient, but easy to implement. | ||||
* | xe: keep track of our own children | Leah Neukirchen | 2017-07-10 | 1 | -2/+25 |
| | | | | | Note that we could have children already upon our execve, there were false positives before. Also allows us to spawn our own helper processes now. | ||||
* | add -vv to trace pid and exit status | Leah Neukirchen | 2017-07-03 | 1 | -3/+13 |
| | |||||
* | parse_jobs: accept a multiplier on the CPU core number | Leah Neukirchen | 2017-07-03 | 1 | -5/+22 |
| | |||||
* | xe: revise logic to only read new arguments when we immediately need them | Leah Neukirchen | 2017-05-19 | 1 | -5/+16 |
| | | | | | This changes behavior on pipes that are written slowly, else there is a one-line delay between executions. | ||||
* | error on -A when separator does not appear | Leah Neukirchen | 2017-04-11 | 1 | -0/+5 |
| | |||||
* | Leahize | Leah Neukirchen | 2017-04-11 | 1 | -2/+1 |
| | |||||
* | fix shquote for empty strings | Christian Neukirchen | 2016-06-13 | 1 | -1/+2 |
| | |||||
* | store result of getopt in int, to not break on architectures with unsigned chars v0.6.1 | Christian Neukirchen | 2016-05-20 | 1 | -2/+1 |
| | |||||
* | shquote: proper octal for DEL. v0.6 | Christian Neukirchen | 2016-02-26 | 1 | -1/+1 |
| | |||||
* | support reading arguments from file with -f | Christian Neukirchen | 2016-02-11 | 1 | -4/+22 |
| | |||||
* | only close stdin when we read arguments from it | Christian Neukirchen | 2016-02-10 | 1 | -7/+9 |
| | |||||
* | drop -k and make it default, add -F to exit on errors immediately | Christian Neukirchen | 2016-02-06 | 1 | -6/+13 |
| | |||||
* | fix appending of constant arguments | Christian Neukirchen | 2016-01-16 | 1 | -1/+1 |
| | |||||
* | add -j0 to use as many cores as available v0.4 | Christian Neukirchen | 2016-01-16 | 1 | -1/+24 |
| | |||||
* | fix callback to printf %s for -a | Christian Neukirchen | 2016-01-16 | 1 | -1/+1 |
| | |||||
* | expand {} also in the case of passing multiple arguments | Christian Neukirchen | 2016-01-16 | 1 | -37/+36 |
| | |||||
* | fix -a which was broken due to a clashing variable name | Christian Neukirchen | 2016-01-16 | 1 | -8/+9 |
| |