Re: [dev] tmux/screen alternative

From: Dmitrij D. Czarkoff <czarkoff_AT_gmail.com>
Date: Sun, 23 Feb 2014 13:56:27 +0100

On Sunday, February 23, 2014 11:58:36 AM Raphaƫl Proust wrote:
> Comment:
> The manpage states
>
> > if a given session name starts either with a dot or a forward slash
> > it is interpreted as a path name and used unmodified i.e. relatively to
> > the
> > current working directory.
>
> That seems a bit surprising. Either the wording and the functionality
> differ or the functionality is very surprising. I'd expect
>
> > if a given session name starts with a forward slash
> > it is interpreted as an absolute path, if a dot followed
> > by a slash (./) it is interpreted a relative path.

Actually it is exactly as is stated:

        if (name[0] == '.' || name[0] == '/') {
                strncpy(sockaddr.sun_path, name, maxlen);

--
Dmitrij D. Czarkoff
Received on Sun Feb 23 2014 - 13:56:27 CET

This archive was generated by hypermail 2.3.0 : Sun Feb 23 2014 - 14:00:09 CET