Re: ped_geometry_read documentation little error

2007-04-05 Thread solsTiCe d'Hiver
f ! i got some pb mastering git-send-email and git in general From b9620a72b63b6899bcfdea0bc3d903e81f3ab891 Mon Sep 17 00:00:00 2001 From: solsTiCe d'Hiver <[EMAIL PROTECTED]> Date: Thu, 5 Apr 2007 23:34:10 +0200 Subject: [PATCH] change the variable named start to offset to be consistent with

[PATCH] change the variable named start to offset to be consistent with the doc

2007-04-05 Thread solsTiCe d'Hiver
From: solsTiCe d'Hiver <[EMAIL PROTECTED]> --- libparted/cs/geom.c | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/libparted/cs/geom.c b/libparted/cs/geom.c index 28198c6..8a369bd 100644 --- a/libparted/cs/geom.c +++ b/libparted/cs/geom.c @@ -285,17 +285,17 @

ped_geometry_read documentation little error

2007-04-05 Thread solsTiCe d'Hiver
here is the patch for the little inconsistency between the code and the doc in geom.c about the variable named start instead of offset in ped_geometry_read and ped_geometry_write. ___ bug-parted mailing list bug-parted@gnu.org http://lists.gnu.org/m

[PATCH] Abort on invalid options.

2007-04-05 Thread bensberg
From: Benno Schulenberg <[EMAIL PROTECTED]> --- parted/parted.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/parted/parted.c b/parted/parted.c index 4107ae0..0a1d225 100644 --- a/parted/parted.c +++ b/parted/parted.c @@ -2259,7 +2259,7 @@ _version () static int _

Re: [PATCH] Abort on invalid options.

2007-04-05 Thread Benno Schulenberg
Otavio Salvador wrote: > [EMAIL PROTECTED] writes: > > From: Benno Schulenberg <[EMAIL PROTECTED]> > > > > _parse_options (int* argc_ptr, char*** argv_ptr) > > { > > [snip] > > } > > > > +if (wrong == 1) > > +return 0; > > + > > *argc_ptr -= optind; > > *argv_ptr += optind; > > return

(no subject)

2007-04-05 Thread solstice . dhiver
>From b34bde53ea98762d0f216b2af3417ed1d7e928fa Mon Sep 17 00:00:00 2001 From: solsTiCe d'Hiver <[EMAIL PROTECTED]> Date: Thu, 5 Apr 2007 14:39:45 +0200 Subject: [PATCH] remove any trace of PED_PARTITION_PRIMARY which was deprecated a long time ago to use PED_PARTITION_NORMAL --- libparted/disk.c

Re: [PATCH] Abort on invalid options.

2007-04-05 Thread Otavio Salvador
[EMAIL PROTECTED] writes: > From: Benno Schulenberg <[EMAIL PROTECTED]> > > --- > parted/parted.c |6 +- > 1 files changed, 5 insertions(+), 1 deletions(-) > > diff --git a/parted/parted.c b/parted/parted.c > index 4107ae0..f672969 100644 > --- a/parted/parted.c > +++ b/parted/parted.c >

Re: PED_PARTITION_NORMAL or PED_PARTITION_PRIMARY ?

2007-04-05 Thread Otavio Salvador
solsTiCe d'Hiver <[EMAIL PROTECTED]> writes: > sorry, i do not know at all git and perform every new task is painfull as > reading the doc and finding the command to do it .. > > so here is the git exported patch (if i am not wrong ?) Ok, let me guide you throught it ... You'll do the commit in

Re: [PATCH] Abort on invalid options.

2007-04-05 Thread Benno Schulenberg
[EMAIL PROTECTED] wrote: > case 'v': _version (); break; > +default : wrong = 1; break; > } Sorry Octavio, didn't see your mail before sending in the first improved patch that reads all options before aborting. Tested, works here. Benno __

[PATCH] Abort on invalid options.

2007-04-05 Thread bensberg
From: Benno Schulenberg <[EMAIL PROTECTED]> --- parted/parted.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/parted/parted.c b/parted/parted.c index 4107ae0..f672969 100644 --- a/parted/parted.c +++ b/parted/parted.c @@ -2259,7 +2259,7 @@ _version () static int

[PATCH] Abort on invalid options.

2007-04-05 Thread bensberg
From: Benno Schulenberg <[EMAIL PROTECTED]> --- parted/parted.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/parted/parted.c b/parted/parted.c index 4107ae0..74a5a41 100644 --- a/parted/parted.c +++ b/parted/parted.c @@ -2259,7 +2259,7 @@ _version () static int

Re: PED_PARTITION_NORMAL or PED_PARTITION_PRIMARY ?

2007-04-05 Thread Otavio Salvador
solsTiCe d'Hiver <[EMAIL PROTECTED]> writes: > here is the patch for the git repo Could you please provide a git exported patch to us? -- O T A V I OS A L V A D O R - E-mail: [EMAIL PROTECTED] UIN: 5906116 GNU/Linux User: 239058

Re: PED_PARTITION_NORMAL or PED_PARTITION_PRIMARY ?

2007-04-05 Thread solsTiCe d'Hiver
here is the patch for the git repo --- parted/libparted/disk.c 2007-04-04 14:19:47.0 +0200 +++ parted/libparted/disk.c.new 2007-04-05 12:21:58.0 +0200 @@ -1039,7 +1039,7 @@ /** * Create a new \link _PedPartition PedPartition \endlink on \p disk. * - * \param type One of \

Re: PED_PARTITION_NORMAL or PED_PARTITION_PRIMARY ?

2007-04-05 Thread solsTiCe d'Hiver
sorry, i do not know at all git and perform every new task is painfull as reading the doc and finding the command to do it .. so here is the git exported patch (if i am not wrong ?) diff --git a/libparted/disk.c b/libparted/disk.c index c678d65..2e3feaf 100644 --- a/libparted/disk.c +++ b/libpar

Re: [PATCH] Added 'rescue', 'unit', and 'version' to the man page, plus some small edits.

2007-04-05 Thread Otavio Salvador
Benno Schulenberg <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] wrote: >> doc/C/parted.8 | 94 >> --- 1 files >> changed, 55 insertions(+), 39 deletions(-) >> >> diff --git a/doc/C/parted.8 b/doc/C/parted.8 > > Any chance for this to go in?

Re: [PATCH] Abort on unrecognized options.

2007-04-05 Thread Otavio Salvador
[EMAIL PROTECTED] writes: > From: Benno Schulenberg <[EMAIL PROTECTED]> > > --- > parted/parted.c |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/parted/parted.c b/parted/parted.c > index 4107ae0..3e1431a 100644 > --- a/parted/parted.c > +++ b/parted/parted.c > @@ -2