[parted-devel] parted port to FreeBSD

leslie.polzer at gmx.net leslie.polzer at gmx.net
Wed Apr 26 08:37:50 UTC 2006


Hello Viktor, hello Robert,

On Wed, Apr 26, 2006 at 02:13:11AM +0200, Viktor Vasilev wrote:

> Robert Millan and I are working on a port of GNU parted to FreeBSD and
> Debian GNU/kFreeBSD. A patch against trunk is attached, also available
> from
>
> Here is some commentary to the changes:
>
> - disable sigaction, since parts of ui.c contain linux-specific code.
Can you explain this is more detail? Do I get that right in that
sigaction() is available on FreeBSD, but with missing features?

> - a weird screen corruption bug in table.c:table_render_row():
I suppose this only occurs with FreeBSD?
  Everytime?

>   Old value = 0x80565a0 "Number Start End Size Type File system
>   Flags \n" New value = 0x805fe80 "Number Start End Size
>   Tyf1À°\1779E\004\177\003\213E\004)E\004f\001\005Ç\004\020"
>
> The ptr arg to realloc has obviously changed.
This is expected behaviour -- see realloc(3).

> I don't know what the propper fix is.
Tracking "newsize" would probably show the problem.

> - Some of the code in freebsd.c comes from various FreeBSD utils.
> Maybe it should be rewritten so it can be GPL'ed?
If I'm right we cannot accept BSD code, so, for official inclusion, we
would have to rewrite these parts.

  Leslie

-- 
gpg --keyserver pgp.mit.edu --recv-keys 0x52D70289
http://nic-nac-project.de/~skypher/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/parted-devel/attachments/20060426/eebc0339/attachment.pgp


More information about the parted-devel mailing list