bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug report


From: Andrew Clausen
Subject: Re: Bug report
Date: Thu, 26 Jun 2003 14:10:45 +0000
User-agent: Mutt/1.5.4i

On Mon, Jun 23, 2003 at 03:04:09PM +0300, Denis Frolov wrote:
> Sorry, it was my fault - mistake in initialization.
> I cannot make copies of disk, or they won't work.

I'm not sure what you mean...

> I have fixed it now, but there is another problem:
> ped_partition_new won't accept 0 as a parameter for partition type.
> It says that "invalid conversion from `const int' to `PedPartitionType'
> So I am unable to create a normal primary partition! Bug?

Must be a new gcc version, or something... I never had this problem.
I should add a "vanilla" partition type.  (I miss haskell's
discriminated unions in C!  None of these problems)

> Code is around this:
> 
> int type = 0;
> ped_partition_new ( disk, type, fs_type, start, end );
> 
> maybe you should enumerate this type, or I did understand API improperly.

It is enumerated, but it's a bit odd...

Thanks,
Andrew





reply via email to

[Prev in Thread] Current Thread [Next in Thread]