[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Another fatfs patch
From: |
Marco Gerards |
Subject: |
Re: Another fatfs patch |
Date: |
17 Jul 2003 22:21:57 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Marco Gerards <metgerards@student.han.nl> writes:
> So it should be:
> "if (round_cluster (offset) + bytes_per_cluster > node->allocsize)"
>
> I will test the code to be 100% sure it works. :)
Ok, just ignore what I said here. I thought it rounds the offset down,
but it rounds up :). I've checked your solution and it works
perfectly (and it makes sense).
Thanks,
Marco