[parted-devel] [PATCH] Handle partial reads correctly

Matt Davis mattdavis9 at gmail.com
Fri Jul 6 03:15:56 UTC 2007


On 7/5/07, Michael Brennan <brennan.brisad at gmail.com> wrote:
> I found a little bug in the linux_read function and now want to
> try to send a minimal patch to fix it.  But I have never done
> it before and I'm not sure on how this works.  Here I have just
> taken the output from git-diff and sent it in the mail, is that
> the correct way to do it?

Sounds right.  Here is a good tutorial/resource on how to commit
patches (from the WINE project):
http://www.winehq.org/site/sending_patches

[- Snip -]

> The patch fixes a problem where a partial read would not be
> handled correctly, I also changed the status variable to ssize_t.
>

Cool!

-Matt



> Michael
>
> _______________________________________________
> parted-devel mailing list
> parted-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/parted-devel
>
>



More information about the parted-devel mailing list