From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5402 invoked by alias); 11 Jun 2008 15:02:53 -0000 Received: (qmail 5387 invoked by uid 9083); 11 Jun 2008 15:02:53 -0000 Date: Wed, 11 Jun 2008 15:02:00 -0000 Message-ID: <20080611150253.5385.qmail@sourceware.org> From: meyering@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2/tools toollib.c Mailing-List: contact lvm2-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: lvm2-cvs-owner@sourceware.org X-SW-Source: 2008-06/txt/msg00030.txt.bz2 CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: meyering@sourceware.org 2008-06-11 15:02:52 Modified files: tools : toollib.c Log message: break (rather than return) so we have only one point of return * tools/toollib.c (process_each_segment_in_lv): Upon sigint_caught, break rather than returning ret_max. No semantic change. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/toollib.c.diff?cvsroot=lvm2&r1=1.135&r2=1.136 --- LVM2/tools/toollib.c 2008/06/10 20:07:04 1.135 +++ LVM2/tools/toollib.c 2008/06/11 15:02:52 1.136 @@ -1,6 +1,6 @@ /* * Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved. - * Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved. + * Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved. * * This file is part of LVM2. * @@ -404,7 +404,7 @@ if (ret > ret_max) ret_max = ret; if (sigint_caught()) - return ret_max; + break; } return ret_max;