From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10088 invoked by alias); 12 Jun 2008 17:25:27 -0000 Received: (qmail 10051 invoked by uid 9582); 12 Jun 2008 17:25:26 -0000 Date: Thu, 12 Jun 2008 17:25:00 -0000 Message-ID: <20080612172526.10036.qmail@sourceware.org> From: rpeterso@sourceware.org To: cluster-cvs@sources.redhat.com, cluster-devel@redhat.com Subject: Cluster Project branch, STABLE2, updated. cluster-2.03.04-8-gd6e657e X-Git-Refname: refs/heads/STABLE2 X-Git-Reftype: branch X-Git-Oldrev: ee9f0a2680427a8ed0ba4da0bacd03f80495f00f X-Git-Newrev: d6e657e2882ac2fa89567c87189c3bbc49902f06 Mailing-List: contact cluster-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cluster-cvs-owner@sourceware.org X-SW-Source: 2008-q2/txt/msg00483.txt.bz2 This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Cluster Project". http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=d6e657e2882ac2fa89567c87189c3bbc49902f06 The branch, STABLE2 has been updated via d6e657e2882ac2fa89567c87189c3bbc49902f06 (commit) from ee9f0a2680427a8ed0ba4da0bacd03f80495f00f (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit d6e657e2882ac2fa89567c87189c3bbc49902f06 Author: Bob Peterson Date: Thu Jun 12 12:11:28 2008 -0500 Ignoring gets return value in gfs_mkfs ----------------------------------------------------------------------- Summary of changes: gfs/gfs_mkfs/main.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/gfs/gfs_mkfs/main.c b/gfs/gfs_mkfs/main.c index 3027d06..0dc75b4 100644 --- a/gfs/gfs_mkfs/main.c +++ b/gfs/gfs_mkfs/main.c @@ -221,9 +221,7 @@ void are_you_sure(commandline_t *comline) vid->usage_id == VOLUME_ID_OTHER? "partition" : vid->usage); volume_id_close(vid); printf("\nAre you sure you want to proceed? [y/n] "); - fgets(input, 32, stdin); - - if (input[0] != 'y') + if (fgets(input, 32, stdin) == NULL || input[0] != 'y') die("aborted\n"); else printf("\n"); hooks/post-receive -- Cluster Project