Re: proposed new module breadlinkat

2011-04-09 Thread Bruno Haible
Paul Eggert asked: > > - Update the module dependency list in lib/relocwrapper.c and the file > > list > > in modules/relocatable-prog-wrapper. > > Sorry, what modification would be needed there? breadlinkat.c doesn't > link to malloc/free/etc. so why would relocwrapper need to be changed?

Re: proposed new module breadlinkat

2011-03-29 Thread Paul Eggert
On 03/29/2011 04:29 AM, Bruno Haible wrote: > That looks like a lot of complexity that is useful only to Emacs and > not to other packages. I should have explained that I had another agenda here: improving the performance of programs like coreutils, which invoke areadlink on a non-huge link, do a

Re: proposed new module breadlinkat

2011-03-29 Thread Bruno Haible
Hi Paul, > In seeking to have GNU Emacs use gnulib's areadlink module I > ran into a problem. Emacs has its own xmalloc and xfree > functions that block interrupts, and it can't simply use > areadlink since areadlink uses malloc without blocking > interrupts. One workaround would be to block int

proposed new module breadlinkat

2011-03-28 Thread Paul Eggert
In seeking to have GNU Emacs use gnulib's areadlink module I ran into a problem. Emacs has its own xmalloc and xfree functions that block interrupts, and it can't simply use areadlink since areadlink uses malloc without blocking interrupts. One workaround would be to block interrupts for the enti