bin/install_module uses a plain cp to install modules. That is a bit annoying when it happens with shared objects, as dlopen on linux simply maps the file. Overwriting a .so then usually ends up crashing already running pikes. Does anyone have any objects to removing the destination before the cp?
Well, the install_module handles module.pmod -> Module.pmod/module.pmod transforms and some other stuff. But I guess it could then use install instead of cp, which of course copies the file correctly.
On Tue, 27 May 2014, Martin Nilsson (Opera Mini - AFK!) @ Pike (-) developers forum wrote:
Shouldn't you use install(1) for this?
pike-devel@lists.lysator.liu.se