Re: Proposal: an addition to glib for getting the absolute path of the current binary.



Hi,

I am not convinced that locating the binary file does solve the
problem of locating the data and configuration files. Is there a
reliable way to determine these directories when the path of the
executable is known? I don't think so. The software might have been
compiled with --datadir set to something completely unrelated. Same
goes for configuration files.  It's common practise to call configure
with --sysconfdir=/etc.  How is your proposal for relocatable packages
going to deal with this?


Sven



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