aboutsummaryrefslogtreecommitdiff
path: root/libio
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-12-06 22:48:11 +0000
committerUlrich Drepper <drepper@redhat.com>2004-12-06 22:48:11 +0000
commit77d16e2672f3998c4042f425c7c0f743fdf070b8 (patch)
treebe771880d4d591d35c82e9523583e554156fe011 /libio
parentc03c66ddb5423255ae5e5309443eaeaf90eac441 (diff)
downloadglibc-77d16e2672f3998c4042f425c7c0f743fdf070b8.zip
glibc-77d16e2672f3998c4042f425c7c0f743fdf070b8.tar.gz
glibc-77d16e2672f3998c4042f425c7c0f743fdf070b8.tar.bz2
Update.
* libio/ioseekpos.c (_IO_seekpos_unlocked): Call _IO_SEEKOF not _IO_SEEKPOS, saving one indirect jump.
Diffstat (limited to 'libio')
-rw-r--r--libio/ioseekpos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libio/ioseekpos.c b/libio/ioseekpos.c
index 4683ffe..cfa9ed8 100644
--- a/libio/ioseekpos.c
+++ b/libio/ioseekpos.c
@@ -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);
}