This is the mail archive of the libc-hacker@sources.redhat.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]
Other format: [Raw text]

[PATCH] Kill one unnecessary .plt slot on Hammer


Hi!

2003-09-11  Jakub Jelinek  <jakub@redhat.com>

	* libio/fileops.c (_IO_new_file_overflow): Add INTUSE to
	_IO_free_backup_area call.

--- libc/libio/fileops.c.jj	2003-09-08 02:31:46.000000000 -0400
+++ libc/libio/fileops.c	2003-09-11 17:13:48.000000000 -0400
@@ -844,7 +844,7 @@ _IO_new_file_overflow (f, ch)
       if (__builtin_expect (_IO_in_backup (f), 0))
 	{
 	  size_t nbackup = f->_IO_read_end - f->_IO_read_ptr;
-	  _IO_free_backup_area (f);
+	  INTUSE(_IO_free_backup_area) (f);
 	  f->_IO_read_base -= MIN (nbackup,
 				   f->_IO_read_base - f->_IO_buf_base);
 	  f->_IO_read_ptr = f->_IO_read_base;

	Jakub


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