This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: putc on unbuffered FILE


On Mon, Jul 03, 2000 at 02:40:36PM -0700, Ulrich Drepper wrote:
> Jakub Jelinek <jakub@redhat.com> writes:
> 
> > int main(void)
> > {
> >         putc('1', stderr);
> >         putc('2', stderr);
> > }
> 
> Thanks for the test.  I've added it and checked in a patch.

Thanks for fixing it (I got to starting debugger on it just now).
Am just wondering if your tst-unbputc.sh will work: the program does not
insert the trailing newline (and putting there a third putc would cause the
test to pass even with glibc before your patch) and so cmp will complain.
So, I'd think you might need to add something like
echo >> ${common_objpfx}stdio-common/tst-unbputc.out
before the cmp line.

	Jakub

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]