public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
From: rpeterso@sourceware.org
To: cluster-cvs@sources.redhat.com, cluster-devel@redhat.com
Subject: Cluster Project branch, master, updated. cluster-2.99.04-20-gbad45f8
Date: Thu, 12 Jun 2008 17:16:00 -0000	[thread overview]
Message-ID: <20080612171604.5915.qmail@sourceware.org> (raw)

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=bad45f88207f1586eee6270f030f51527da7c79a

The branch, master has been updated
       via  bad45f88207f1586eee6270f030f51527da7c79a (commit)
      from  3c6491fb69663681d0ed0fc9ec897336048bf168 (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 bad45f88207f1586eee6270f030f51527da7c79a
Author: Bob Peterson <rpeterso@redhat.com>
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


                 reply	other threads:[~2008-06-12 17:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080612171604.5915.qmail@sourceware.org \
    --to=rpeterso@sourceware.org \
    --cc=cluster-cvs@sources.redhat.com \
    --cc=cluster-devel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).