[Rd] minor iconvlist() bug in r-devel

2005-03-16 Thread Deepayan Sarkar
This is on r-devel from 2005-03-15. iconvlist() uses (at least some of the time) icfile - system.file(iconvlist, package = utils) which looks like The following list contain all the coded character sets known. This does not necessarily mean that all combinations of these names can be

Re: [Rd] minor iconvlist() bug in r-devel

2005-03-16 Thread Prof Brian Ripley
That file is created by $(top_builddir)/library/$(pkg)/iconvlist: most @iconv -l $@ 2 /dev/null || touch $@ What version of iconv -l is that produces such a list? That in glibc 2.3.4 does not produce the header when redirected. Your fix is not safe: iconv in libiconv produces items

Re: [Rd] minor iconvlist() bug in r-devel

2005-03-16 Thread Deepayan Sarkar
On Wednesday 16 March 2005 10:11, Prof Brian Ripley wrote: That file is created by $(top_builddir)/library/$(pkg)/iconvlist: most @iconv -l $@ 2 /dev/null || touch $@ What version of iconv -l is that produces such a list? That in glibc 2.3.4 does not produce the header when

Re: [Rd] minor iconvlist() bug in r-devel

2005-03-16 Thread Prof Brian Ripley
On Wed, 16 Mar 2005, Deepayan Sarkar wrote: On Wednesday 16 March 2005 10:11, Prof Brian Ripley wrote: That file is created by $(top_builddir)/library/$(pkg)/iconvlist: most @iconv -l $@ 2 /dev/null || touch $@ What version of iconv -l is that produces such a list? That in glibc 2.3.4

Re: [Rd] minor iconvlist() bug in r-devel

2005-03-16 Thread Deepayan Sarkar
On Wednesday 16 March 2005 10:57, Prof Brian Ripley wrote: On Wed, 16 Mar 2005, Deepayan Sarkar wrote: On Wednesday 16 March 2005 10:11, Prof Brian Ripley wrote: That file is created by $(top_builddir)/library/$(pkg)/iconvlist: most @iconv -l $@ 2 /dev/null || touch $@

Re: [Rd] minor iconvlist() bug in r-devel

2005-03-16 Thread Prof Brian Ripley
On Wed, 16 Mar 2005, Deepayan Sarkar wrote: On Wednesday 16 March 2005 10:57, Prof Brian Ripley wrote: On Wed, 16 Mar 2005, Deepayan Sarkar wrote: On Wednesday 16 March 2005 10:11, Prof Brian Ripley wrote: That file is created by $(top_builddir)/library/$(pkg)/iconvlist: most @iconv -l