On 3/14/18 11:49 AM, Martijn Dekker wrote:
> This fixes two bugs:
>
> 1. The example 'mkdir' builtin, examples/loadables/mkdir.c, has a broken
> '-m' option that doesn't accept sticky/setuid/setgid.
>
> $ ./bash -c '(cd examples/loadables && make mkdir) &&
> enable -f examples/loadables/mkdir mkdir &&
> mkdir -m2775 foo'
> ['make' output skipped]
> ./bash: line 2: mkdir: invalid file mode: 2775
>
> 2. The 'umask' builtin doesn't accept modes > 0777.
Thanks for the report and fix.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/