Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: mkdir builtin and $'\0'



On Tue, 18 Aug 2015 10:19:04 +0100
Stephane Chazelas <stephane.chazelas@xxxxxxxxx> wrote:
> Maybe those builtins should fail with an error if one attempts
> to call them with an argument containing NUL.

We'd probably want to do this generally: create an unmeta_filename()
function that fails hard with an embedded NULL and make sure we handle
the errpr in calling code.

pws



Messages sorted by: Reverse Date, Date, Thread, Author