From 925ed47cfb2729953655f001df6cb9bd82360e19 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 28 Apr 1999 10:00:35 +0000 Subject: Update. * libio/iofopncook.c (_IO_cookie_seek): Correct return value. Patch by Peter Miller . 1999-04-27 Thorsten Kukuk * sunrpc/pmap_clnt.c: Add own get_myaddress function, which prefers loopback device. 1999-04-28 Ulrich Drepper --- libio/iofopncook.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'libio') 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 -- cgit 1.4.1