[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 4/4] services: openssh: Add 'subsystems' option.
From: |
Clément Lassieur |
Subject: |
Re: [PATCH 4/4] services: openssh: Add 'subsystems' option. |
Date: |
Thu, 02 Mar 2017 22:00:47 +0100 |
User-agent: |
mu4e 0.9.18; emacs 25.2.1 |
Hi Danny,
Danny Milosavljevic <address@hidden> writes:
> 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.
Ok. I'll correct this later, for now I don't want to push this patch,
I'm waiting for a confirmation from ng0.
Thanks for the review!
- Re: [PATCH 4/4] services: openssh: Add 'subsystems' option., Danny Milosavljevic, 2017/03/02
- Re: [PATCH 4/4] services: openssh: Add 'subsystems' option.,
Clément Lassieur <=
- 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
- Re: grammar usage (was: Re: [PATCH 4/4] services: openssh: Add 'subsystems' option.), ng0, 2017/03/17