[PATCH] another small patch for glibc-2-2-branch
Art Haas
ahaas@neosoft.com
Mon Mar 18 09:06:00 GMT 2002
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
More information about the Libc-alpha
mailing list