From owner-freebsd-bugs Wed Jul 31 14:26:27 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA01956 for bugs-outgoing; Wed, 31 Jul 1996 14:26:27 -0700 (PDT) Received: from red.jnx.com (ppp-2-204.sntc01.pacbell.net [206.170.2.204]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA01947 for ; Wed, 31 Jul 1996 14:26:20 -0700 (PDT) Received: (from pst@localhost) by red.jnx.com (8.7.5/8.7.3) id OAA10274; Wed, 31 Jul 1996 14:25:55 -0700 (PDT) To: freebsd-bugs@freebsd.org Subject: [from netbsd] The second argument of fgets(3) is not size_t but int. From: Paul Traina Date: 31 Jul 1996 14:25:55 -0700 Message-ID: <7yspa8ru70.fsf@red.jnx.com> Lines: 63 X-Mailer: Gnus v5.2.25/XEmacs 19.14 Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk ------- Start of forwarded message ------- From: msaitoh@spa.is.uec.ac.jp To: gnats-bugs@NetBSD.ORG Newsgroups: jnx.ext.bsd.net.bugs Subject: misc/2664: The second argument of fgets(3) is not size_t but int. Message-ID: <199607301524.AAA02601@ifree.spa.is.uec.ac.jp> Date: 30 Jul 96 15:24:05 GMT Reply-To: msaitoh@spa.is.uec.ac.jp Organization: Juniper Networks, San Francisco, California >Number: 2664 >Category: misc >Synopsis: The second argument of fgets(3) is not size_t but int. >Confidential: no >Severity: non-critical >Priority: low >Responsible: misc-bug-people (Misc Bug People) >State: open >Class: doc-bug >Submitter-Id: net >Arrival-Date: Tue Jul 30 11:50:04 1996 >Last-Modified: >Originator: SAITOH Masanobu >Organization: University of Electro-Communications >Release: 1.2_BETA >Environment: System: NetBSD ifree.spa.is.uec.ac.jp 1.2_BETA NetBSD 1.2_BETA (IFREE) #12: Mon Jul 1 01:41:30 JST 1996 msaitoh@ifree.spa.is.uec.ac.jp:/var/sources/src/sys/arch/i386/compile/IFREE i386 >Description: The second argument of fgets(3) is not size_t but int. >How-To-Repeat: Try: man fgets >Fix: Apply this patch: *** fgets.3.orig Sat Oct 14 09:51:35 1995 --- fgets.3 Wed Jul 31 00:11:51 1996 *************** *** 47,53 **** .Sh SYNOPSIS .Fd #include .Ft char * ! .Fn fgets "char *str" "size_t size" "FILE *stream" .Ft char * .Fn gets "char *str" .Sh DESCRIPTION --- 47,53 ---- .Sh SYNOPSIS .Fd #include .Ft char * ! .Fn fgets "char *str" "int size" "FILE *stream" .Ft char * .Fn gets "char *str" .Sh DESCRIPTION >Audit-Trail: >Unformatted: ------- End of forwarded message -------