This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] fix HPUX-PA build on posix.cc


Hi Bryce,

Bryce McKinlay wrote:
Its probably cleaner just to drop the "const" in the _Jv_platform_dladdr() declaration. I can't see any reason for that.

I did it the same way as we have it in boehm.cc. It's an api buglet in the dladdr port from HPUX-PA.

And in the man page of linux the api is also wrong (FC4, at least), it should be dladdr(const void* addr, Dl_info* info) have a look into the header tells you more:
extern int dladdr (__const void *__address, Dl_info *__info)



Keep it consistent as in boehm.cc?


Andreas

P.S, APH knows the story.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]