This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[PATCH] another small patch for glibc-2-2-branch
- From: Art Haas <ahaas at neosoft dot com>
- To: libc-alpha at sources dot redhat dot com
- Date: Mon, 18 Mar 2002 11:18:48 -0600
- Subject: [PATCH] another small patch for glibc-2-2-branch
Hi. This small patch cleans up a warning, and is based on
a similar patch given in the following message ...
http://sources.redhat.com/ml/libc-hacker/2002-03/msg00070.html
This patch removes a similar warning. The code compiles without
the warning after the patch, and the testsuite run had no failures.
--- libio/iofdopen.c.orig 2002-03-16 10:28:12.000000000 -0600
+++ libio/iofdopen.c 2002-03-18 08:10:16.000000000 -0600
@@ -132,7 +132,7 @@
#endif
if (_IO_file_attach ((_IO_FILE *) &new_f->fp, fd) == NULL)
{
- _IO_setb (&new_f->fp, NULL, NULL, 0);
+ _IO_setb (&new_f->fp.file, NULL, NULL, 0);
_IO_un_link (&new_f->fp);
free (new_f);
return NULL;
As always, my thanks to everyone working on glibc.
--
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety.
-- Benjamin Franklin, Historical Review of Pennsylvania, 1759