From ad078627d5cea32c705d9c8f82107e0baed8398e Mon Sep 17 00:00:00 2001 From: Curtis Gedak Date: Mon, 16 Feb 2009 19:37:27 +0000 Subject: [PATCH] Added strict_start indicator svn path=/trunk/; revision=1069 --- ChangeLog | 5 +++++ include/Partition.h | 5 +++-- src/Partition.cc | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index ebd60871..866e9b7d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-02-16 Curtis Gedak + + * include/Partition.h, + src/Partition.cc: Added strict_start indicator. + 2009-02-13 Curtis Gedak * configure.in: Append -svn to version for continuing development diff --git a/include/Partition.h b/include/Partition.h index 07e6e225..9185f1d6 100644 --- a/include/Partition.h +++ b/include/Partition.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2004, 2005, 2006, 2007, 2008 Bart Hakvoort +/* Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Bart Hakvoort * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -112,7 +112,8 @@ public: std::vector logicals ; - bool strict ; + bool strict ; //Indicator if start and end sectors must stay unchanged + bool strict_start ; //Indicator if start sector must stay unchanged private: void sort_paths_and_remove_duplicates() ; diff --git a/src/Partition.cc b/src/Partition.cc index fac41e98..f957be76 100644 --- a/src/Partition.cc +++ b/src/Partition.cc @@ -1,4 +1,4 @@ -/* Copyright (C) 2004, 2005, 2006, 2007, 2008 Bart Hakvoort +/* Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Bart Hakvoort * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -43,7 +43,7 @@ void Partition::Reset() uuid .clear() ; partition_number = sector_start = sector_end = sectors_used = sectors_unused = -1; color .set( "black" ) ; - inside_extended = busy = strict = false ; + inside_extended = busy = strict = strict_start = false ; logicals .clear() ; flags .clear() ; mountpoints .clear() ;