Re: fseeko, ftello: avoid inline function in include file

2011-06-13 Thread Eric Blake
On 06/13/2011 09:38 AM, Bruno Haible wrote: > Eric Blake wrote: >> This looks reasonable to me (and no problem on the license change). > > Good, I've applied it, together with the same change for fseeko: > > > 2011-06-13 Bruno Haible > > fseeko: Provide a non-inline replacement of fsee

Re: fseeko, ftello: avoid inline function in include file

2011-06-13 Thread Bruno Haible
Eric Blake wrote: > This looks reasonable to me (and no problem on the license change). Good, I've applied it, together with the same change for fseeko: 2011-06-13 Bruno Haible fseeko: Provide a non-inline replacement of fseek(). * lib/stdio.in.h (fseek): Don't provide if mod

Re: fseeko, ftello: avoid inline function in include file

2011-06-13 Thread Eric Blake
On 06/13/2011 05:21 AM, Bruno Haible wrote: > The fix is to move the inline function to non-inline code. Actually > lib/ftell.c > already exists, with the right code. > > The purpose of that inline function, as the comments say, is to ensure ftell() > is consistent with ftello(). But that can be

fseeko, ftello: avoid inline function in include file

2011-06-13 Thread Bruno Haible
Hi Eric, Building gettext on Solaris 9, I'm seeing this link error: cc -O -DHAVE_CONFIG_H -I. -I.. -DIN_GETTEXT_TOOLS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gnulib-lib -I./../gnulib-lib -I../intl -D_REENTRANT -I/home/haible/prefix-solaris9-sparc-cc/include -g -c -o test-spawn-pipe-child.