bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: gettext patches for cygwin #3: relocation


From: Bruno Haible
Subject: Re: gettext patches for cygwin #3: relocation
Date: Mon, 21 Nov 2005 14:08:40 +0100
User-agent: KMail/1.5

Charles Wilson wrote:
>       * gettext-runtime/intl/relocatable.c (DllMain): convert path
>       to unix style on cygwin.
>       (get_shared_library_fullname): rely on DLLMain to compute
>       shared_library_fullname.
>       * gettext-tools/lib/relocatable.c: ditto
>       * gettext-tools/lib/progreloc.c (maybe_executable): use access()
>       on cygwin even if WIN32 defined.
>       (xreadlink_proc_exename): new function to read /proc/pid/exename
>       (find_executable): don't use GetModuleFileName on cygwin.
>       Instead, use /proc/self/exe or /proc/<pid>/exename.
>       (set_program_name_and_installdir): take care for trailing .exe
>       * gettext-tools/lib/relocwrapper.c (add_dotbin): foo.exe should
>       become foo.bin.exe, not foo.exe.bin.

Thanks a lot! I'll work on integrating it into GNU gettext (and libiconv,
which uses the same infrastructure).

Bruno





reply via email to

[Prev in Thread] Current Thread [Next in Thread]