[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] Reducing number of parameters in splice_opennode()
From: |
Benno Schulenberg |
Subject: |
Re: [Nano-devel] Reducing number of parameters in splice_opennode() |
Date: |
Thu, 25 Feb 2016 20:00:20 +0100 |
On Tue, Feb 23, 2016, at 20:09, Benno Schulenberg wrote:
> The difference between the list of openfile nodes and the list
> of filestructs is that the first is circular. That makes splicing
> difficult when the circle is empty and you want to 'splice' in
> the first element.
>
> Easiest solution is: don't splice the first element, just set it
> up manually. See attached patch.
>
> (Next step would be: elide this whole splicing function as it's
> used only once.)
Both steps have been applied in a single change to SVN
in r5678.
Benno
--
http://www.fastmail.com - The way an email service should be