mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
Update.
* libio/ioseekpos.c (_IO_seekpos_unlocked): Call _IO_SEEKOF not _IO_SEEKPOS, saving one indirect jump.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1993,1997,1998,1999,2002,2003 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1993,1997-1999,2002,2003,2004 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -47,7 +47,7 @@ _IO_seekpos_unlocked (fp, pos, mode)
|
||||
INTUSE(_IO_free_wbackup_area) (fp);
|
||||
}
|
||||
|
||||
return _IO_SEEKPOS (fp, pos, mode);
|
||||
return _IO_SEEKOFF (fp, pos, 0, mode);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user