Date: Tue, 27 Sep 2011 19:08:28 +0000 (UTC) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-other@freebsd.org Subject: svn commit: r225816 - stable/9/usr.bin/fetch Message-ID: <201109271908.p8RJ8SK8037249@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: des Date: Tue Sep 27 19:08:27 2011 New Revision: 225816 URL: http://svn.freebsd.org/changeset/base/225816 Log: MFH r225805: use fseeko(2) instead of fseek(2). Approved by: re (kib) Modified: stable/9/usr.bin/fetch/fetch.c Directory Properties: stable/9/usr.bin/fetch/ (props changed) Modified: stable/9/usr.bin/fetch/fetch.c ============================================================================== --- stable/9/usr.bin/fetch/fetch.c Tue Sep 27 19:02:44 2011 (r225815) +++ stable/9/usr.bin/fetch/fetch.c Tue Sep 27 19:08:27 2011 (r225816) @@ -561,8 +561,8 @@ fetch(char *URL, const char *path) } } /* seek to where we left off */ - if (of != NULL && fseek(of, url->offset, SEEK_SET) != 0) { - warn("%s: fseek()", path); + if (of != NULL && fseeko(of, url->offset, SEEK_SET) != 0) { + warn("%s: fseeko()", path); fclose(of); of = NULL; /* picked up again later */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109271908.p8RJ8SK8037249>