From owner-cvs-usrsbin Tue Mar 19 07:38:57 1996 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA09310 for cvs-usrsbin-outgoing; Tue, 19 Mar 1996 07:38:57 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA09280 Tue, 19 Mar 1996 07:38:47 -0800 (PST) Date: Tue, 19 Mar 1996 07:38:47 -0800 (PST) From: Bruce Evans Message-Id: <199603191538.HAA09280@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/diskpart diskpart.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/03/19 07:38:46 Modified: usr.sbin/diskpart diskpart.c Log: Merged type changes and overflow bug fixes from Lite2. Fixed the gets() changes. The buffer contents is indeterminate when fgets() returns NULL... Now when you type EOT at one of the prompts, the program usually spins reading the sticky EOF instead of dumping core. Even GUIs could do better. Added $Id$. Obtained from: partly from 4.4BSD-Lite2 Revision Changes Path 1.6 +35 -22 src/usr.sbin/diskpart/diskpart.c