On Wednesday 20 August 2014, Sami Kerola wrote: > 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? @Karel Maybe you could re-open the issue on github to not forget about it. https://github.com/karelzak/util-linux/issues/51 cu, Rudi -- 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