Re: [bug-inetutils] inetutils-1.8: ftp build error

2010-07-25 Thread Alfred M. Szmidt
I am forwarding an error reported on the inetutils mailing list. The problem is that readline 6.x exports `xmalloc' and `xrealloc', and it causes a linker error when used together with gnulib. Probably readline shouldn't export these symbols, but I think it should be possible

Re: [bug-inetutils] inetutils-1.8: ftp build error

2010-07-25 Thread Sergey Poznyakoff
Alfred M. Szmidt a...@gnu.org ha escrit: This is a known bug, the reason if I recall is that readline exports xmalloc and xrealloc is to allow programs to hook their own version into readline. So the readline maintainer has declined any fixes for this. This is a severe bug. It makes

Re: [bug-inetutils] inetutils-1.8: ftp build error

2010-07-25 Thread Alfred M. Szmidt
This is a known bug, the reason if I recall is that readline exports xmalloc and xrealloc is to allow programs to hook their own version into readline. So the readline maintainer has declined any fixes for this. This is a severe bug. It makes readline useless for any project

Re: [bug-inetutils] inetutils-1.8: ftp build error

2010-07-25 Thread Chet Ramey
On 7/25/10 10:33 AM, Alfred M. Szmidt wrote: This is a known bug, the reason if I recall is that readline exports xmalloc and xrealloc is to allow programs to hook their own version into readline. So the readline maintainer has declined any fixes for this. This is a

Re: [bug-inetutils] inetutils-1.8: ftp build error

2010-07-25 Thread Paul Eggert
xmalloc etc. are commonly used names in GNU applications, regardless of whether the apps are gnulib-based; for example, Emacs and GCC both have their own xmalloc, independent of gnulib. It would be nicer if readline were compatible with this common usage, without application developers having to

Re: [bug-inetutils] inetutils-1.8: ftp build error

2010-07-25 Thread Chet Ramey
On 7/25/10 2:38 PM, Paul Eggert wrote: xmalloc etc. are commonly used names in GNU applications, regardless of whether the apps are gnulib-based; for example, Emacs and GCC both have their own xmalloc, independent of gnulib. It would be nicer if readline were compatible with this common

Re: [bug-inetutils] inetutils-1.8: ftp build error

2010-07-25 Thread Chet Ramey
On 7/25/10 2:36 PM, Mike Frysinger wrote: why do you need to use those function names ? using a name spaced function like rl_malloc or _rl_malloc would keep the same functionality without clashing with other people. No, it wouldn't. It would not allow, for instance, an application to

Re: [bug-inetutils] inetutils-1.8: ftp build error

2010-07-25 Thread Chet Ramey
On 7/25/10 2:00 PM, Chet Ramey wrote: On 7/25/10 10:33 AM, Alfred M. Szmidt wrote: This is a known bug, the reason if I recall is that readline exports xmalloc and xrealloc is to allow programs to hook their own version into readline. So the readline maintainer has declined

Re: [bug-inetutils] inetutils-1.8: ftp build error

2010-07-25 Thread Mike Frysinger
On Sunday, July 25, 2010 17:18:02 Chet Ramey wrote: On 7/25/10 2:36 PM, Mike Frysinger wrote: why do you need to use those function names ? using a name spaced function like rl_malloc or _rl_malloc would keep the same functionality without clashing with other people. No, it wouldn't.

Re: [bug-inetutils] inetutils-1.8: ftp build error

2010-06-08 Thread Giuseppe Scrivano
Hello, I am forwarding an error reported on the inetutils mailing list. The problem is that readline 6.x exports `xmalloc' and `xrealloc', and it causes a linker error when used together with gnulib. Probably readline shouldn't export these symbols, but I think it should be possible somehow to

Re: [bug-inetutils] inetutils-1.8: ftp build error

2010-06-08 Thread Bruno Haible
Hi, Giuseppe Scrivano wrote: The problem is that readline 6.x exports `xmalloc' and `xrealloc', and it causes a linker error when used together with gnulib. According to what Chet Ramey said in http://lists.gnu.org/archive/html/bug-readline/2009-06/msg3.html it should be possible to

Re: [Bug-readline] Re: [bug-inetutils] inetutils-1.8: ftp build error

2010-06-08 Thread Chet Ramey
On 6/8/10 5:20 AM, Bruno Haible wrote: Hi, Giuseppe Scrivano wrote: The problem is that readline 6.x exports `xmalloc' and `xrealloc', and it causes a linker error when used together with gnulib. According to what Chet Ramey said in