aboutsummaryrefslogtreecommitdiff
path: root/libio
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-04-28 10:00:35 +0000
committerUlrich Drepper <drepper@redhat.com>1999-04-28 10:00:35 +0000
commit925ed47cfb2729953655f001df6cb9bd82360e19 (patch)
treeeb172b59d7ade049b0272d262a55eae573c03624 /libio
parent66f93c2d97c7a6299361805091513981b6277893 (diff)
downloadglibc-925ed47cfb2729953655f001df6cb9bd82360e19.tar
glibc-925ed47cfb2729953655f001df6cb9bd82360e19.tar.gz
glibc-925ed47cfb2729953655f001df6cb9bd82360e19.tar.bz2
glibc-925ed47cfb2729953655f001df6cb9bd82360e19.zip
Update.
* libio/iofopncook.c (_IO_cookie_seek): Correct return value. Patch by Peter Miller <millerp@canb.auug.org.au>. 1999-04-27 Thorsten Kukuk <kukuk@suse.de> * sunrpc/pmap_clnt.c: Add own get_myaddress function, which prefers loopback device. 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
Diffstat (limited to 'libio')
-rw-r--r--libio/iofopncook.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/libio/iofopncook.c b/libio/iofopncook.c
index 4f28ec20a8..7820fa325a 100644
--- a/libio/iofopncook.c
+++ b/libio/iofopncook.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1995, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1995, 1997, 1999 Free Software Foundation, Inc.
This file is part of the GNU IO Library.
This library is free software; you can redistribute it and/or
@@ -81,10 +81,7 @@ _IO_cookie_seek (fp, offset, dir)
pos = _IO_pos_0;
_IO_pos_adjust (pos, offset);
- if (cfile->io_functions.seek (cfile->cookie, pos, dir))
- return _IO_pos_BAD;
-
- return pos;
+ return cfile->io_functions.seek (cfile->cookie, pos, dir);
}
static int