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

Re: PATCH: socket: unmetafy the socket name



On Thu, Aug 27, 2026 at 7:29 AM Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
>
> +In the invocations below, var(filename) may start with a NUL byte to use
> +the abstract socket namespace where no actual socket file is used. It
> +can also be passed as an empty string to ask the kernel to autoassign a
> +name, in which case that name will be returned in tt(REPLY2) and printed
> +when using the tt(-v) option. This feature may be limited to Linux.

Should this perhaps use the $reply array instead of creating a new
"reserved" scalar?
reply=(sfd sockname)  # for pseudo-example
This could be set even when a name was supplied by the caller.




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