Re: Regression test failure - tests/ts/ipcs/limits2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 19 August 2014 12:18, Ruediger Meier <sweet_f_a@xxxxxx> wrote:
> BTW, woud be nice to fix that TODO finally. Since "ipcs -m" internally
> converts all these sizes to bytes we have to use large integer
> arithmetics somehow to have correct output at all.

Hi Rudi and others,

I agree, it would be nice to be precise about sizes.  But should
util-linux have a lib/bigint.c or something similar to avoid dependency
to external infinite precision implementation[1]?

By glance there are some examples how to write bigint from scratch.  And
the examples are more or less directly advising against re-inventing the
wheel.  My feeling is that use of existing bigint implementation would be
good decision, but one has to be able to disable the dependency when
needed.  I am guessing distributors who bootstrap systems would prefer
that sort of setup.

Comments, opinions?

[1] https://gmplib.org/

-- 
Sami Kerola
http://www.iki.fi/kerolasa/
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux