Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | exec: Fix more corner cases with -ok ... + | Tavian Barnes | 2017-07-29 | 1 | -9/+10 |
| | | | | -ok should look for a ; even if it sees {} +, according to POSIX. | ||||
* | exec: Don't allow anything between {} and + | Tavian Barnes | 2017-07-29 | 1 | -75/+30 |
| | | | | | | | | | POSIX explicitly forbids this extension: > Only a <plus-sign> that immediately follows an argument containing > only the two characters "{}" shall punctuate the end of the primary > expression. Other uses of the <plus-sign> shall not be treated as > special. | ||||
* | util: Define O_DIRECTORY to 0 if it's not already defined | Tavian Barnes | 2017-07-29 | 1 | -5/+1 |
| | |||||
* | Re-license under the BSD Zero Clause License | Tavian Barnes | 2017-07-27 | 1 | -10/+15 |
| | |||||
* | Handle yes/no prompts correctly according to the locale | Tavian Barnes | 2017-07-15 | 1 | -7/+1 |
| | |||||
* | exec: Clear errno when a multi-exec doesn't fail | Tavian Barnes | 2017-07-08 | 1 | -1/+6 |
| | | | | | | | This fixes strange "Inappropriate ioctl for device" errors when using -exec ... + with output redirection. errno was set to ENOTTY by the isatty() call during startup for color auto-detection, and never cleared before eval_exec() wants to check if anything went wrong. | ||||
* | Implement -D exec | Tavian Barnes | 2017-05-09 | 1 | -5/+44 |
| | |||||
* | exec: Treat -1 from _SC_ARG_MAX as "unlimited" | Tavian Barnes | 2017-04-30 | 1 | -1/+1 |
| | |||||
* | exec: Interpret ARG_MAX corretly. | Tavian Barnes | 2017-04-15 | 1 | -33/+111 |
| | | | | Thanks to https://www.in-ulm.de/~mascheck/various/argmax/ | ||||
* | exec: close() the working directory even if !ftwbuf | Tavian Barnes | 2017-04-15 | 1 | -1/+1 |
| | |||||
* | Implement -exec/-execdir ... + | Tavian Barnes | 2017-04-15 | 1 | -0/+456 |