Comment 7 for bug 706764

Revision history for this message
Axel Beckert (xtaran) wrote : Re: [Bug 706764] Re: dphys-swapfile sets incorrect swap size

Hi Gerry,

Gerry Reno wrote:
> I tried to run the fix you show for development snapshot on my machine but it says this:
>
> The program 'dc' is currently not installed. You can install it by typing:
> apt-get install dc

Yep, upstream switched to dc for the next release. Will become an
additional dependency in the next package. A lightweight one though.

Gerry Reno wrote:
> It does have the 'bc' calculator installed but not 'dc'.

That's no problem since dc will be installed automatically via
dependencies. Just forgot to mention that when I quoted the code from
upstream.

> 'dc' being RPN is also quite obtuse to understand being stack based
> which might the code difficult to maintain.

Surely not for the upstream developer of dphys-swapfile. He collects
pocket calculators, and likes especially those with RPN. And I'm fine
with RPN and dc, too. :)

  Regards, Axel
--
 ,''`. | Axel Beckert <email address hidden>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
  `- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5