Mark Hindess wrote: > There is one slightly odd failure. The hyerror last error message is > not null at startup. I suspect it is the nls catalog that is not found > because there is no way to find the executable name. (The portlib > executable name function only works if either: > > a) we are on linux (and /proc is mounted) > > b) we pass in argv[0] > > but clearly a) isn't true and at the point of the call argv[0] isn't > available. I'm not sure how to fix this. (If we insist that /proc > is mounted on FreeBSD we might resolve it here but /proc is a little > different on FreeBSD *and* it is not mounted by default. Besides this > isn't really a generic solution.)
Don't know the answer off the top of my head, and a quick grep around the APR code implies that they don't provide an equivalent to hysysinfo_get_executable_name. Still may be worth asking over there (I'll proxy for you if you don't get round to it), or in an equivalent forum. Regards, Tim
