[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 4/4] services: openssh: Add 'subsystems' option.
From: |
Danny Milosavljevic |
Subject: |
Re: [PATCH 4/4] services: openssh: Add 'subsystems' option. |
Date: |
Thu, 2 Mar 2017 08:44:48 +0100 |
Hi,
On Tue, 21 Feb 2017 00:53:55 +0100
Clément Lassieur <address@hidden> wrote:
> +This is a list of two-element tuples,
list of pairs.
>where each tuple contains the
each pair
> +subsystem name and a command (with optional arguments) to execute upon
> +subsystem request.
> +
> +The command @command{sftp-server} implements the SFTP file transfer
> +subsystem.
> address@hidden
> +'(("sftp" "/usr/libexec/sftp-server"))
Hmm, that is a list in there, not a two-element tuple:
scheme@(guile-user)> (car '(("A" "B")))
$1 = ("A" "B")
scheme@(guile-user)> (car (car '(("A" "B"))))
$3 = "A"
scheme@(guile-user)> (cdr (car '(("A" "B"))))
$2 = ("B") <---- should be "B" without the parens for tuples
So I suggest either fix the example to be a pair ("sftp" .
"/usr/libexec/sftp-server") or fix the docs.
- Re: [PATCH 4/4] services: openssh: Add 'subsystems' option.,
Danny Milosavljevic <=
- Re: [PATCH 4/4] services: openssh: Add 'subsystems' option., Clément Lassieur, 2017/03/02
- Re: [PATCH 4/4] services: openssh: Add 'subsystems' option., ng0, 2017/03/05
- Re: [PATCH 4/4] services: openssh: Add 'subsystems' option., Danny Milosavljevic, 2017/03/07
- Re: [PATCH 4/4] services: openssh: Add 'subsystems' option., Clément Lassieur, 2017/03/07
- Re: [PATCH 4/4] services: openssh: Add 'subsystems' option., Ludovic Courtès, 2017/03/16
- Re: [PATCH 4/4] services: openssh: Add 'subsystems' option., ng0, 2017/03/16
- Re: [PATCH 4/4] services: openssh: Add 'subsystems' option., Clément Lassieur, 2017/03/16
- Re: [PATCH 4/4] services: openssh: Add 'subsystems' option., John Darrington, 2017/03/17
- grammar usage (was: Re: [PATCH 4/4] services: openssh: Add 'subsystems' option.), ng0, 2017/03/17
- Re: grammar usage (was: Re: [PATCH 4/4] services: openssh: Add 'subsystems' option.), John Darrington, 2017/03/17