Yo Hal! On Sat, 15 Mar 2025 16:34:07 -0700 Hal Murray <halmur...@sonic.net> wrote:
> g...@rellim.com said: > > I agree, way too much work. I would leave OS compat #ifdefs as > > they are. Partly because testing an alternative would be a pain. A > > few things could be combined using POSIX. > > My comment about a different module for each OS/environment was > assuming we were working with a modern language without #ifdefs. I do not know any modern language that would need this. Do you? > Another approach would be to implement droproot in c where we can use > #ifdef. That assumes our new wonderful modern language has a > reasonable way to call c code. FFI seems to work well now. But dropping root causes as many problems as it selves. If/when it becomes an issue I would propose a different approach. RGDS GARY --------------------------------------------------------------------------- Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703 g...@rellim.com Tel:+1 541 382 8588 Veritas liberabit vos. -- Quid est veritas? "If you can't measure it, you can't improve it." - Lord Kelvin _______________________________________________ devel mailing list devel@ntpsec.org https://lists.ntpsec.org/mailman/listinfo/devel