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 woul

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 >>

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 co

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 us

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 d

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

2010-07-25 Thread Mike Frysinger
On Sunday, July 25, 2010 14:00:08 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 main

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

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 projec

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

2010-07-25 Thread Sergey Poznyakoff
Alfred M. Szmidt 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 readline useless

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 someh

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 >

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 it should be possible to o

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 w