| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
This was not broken on architectures such as ARM where char is unsigned.
Also, remove the first non-portable character from the output. POSIX does
not require this, and printing the first byte may yield an invalid byte
sequence with UTF-8.
PR: bin/165988
Reported by: Nicolas Rachinsky
|
|
|
|
|
|
|
|
|
|
| |
Spaces and various other characters in pathnames are not passed through
literally by xargs in its default mode. Instead, use find . -exec ... {} +
Although the -- argument is not strictly required here, add it anyway to
avoid surprises when modifying the code to find -f -somedir ...
MFC after: 1 week
|
|
|
|
|
|
|
| |
This option checks for empty pathnames and components starting with '-'.
Our -p option also checks for the latter, which remains the case.
MFC after: 1 week
|
| |
|
| |
|
| |
|
|
|
|
| |
Noticed by: bde
|
|
|
|
|
|
| |
trailing null byte in PATH_MAX and _POSIX_PATH_MAX.
PR: 46035
|
|
|
|
| |
Approved by: re
|
|
|
|
| |
warning message as well as the path argument.
|
| |
|
|
portability between POSIX systems.
Submitted by: Chuck Rouillard (manpage, initial implementation)
|