Re: 2.2.18pre13: Small patches

From: Jeff Garzik (jgarzik@mandrakesoft.mandrakesoft.com)
Date: Tue Oct 03 2000 - 03:18:31 EST


On Mon, 2 Oct 2000, Chip Salzenberg wrote:
> 3. Trivial patch to fs/vfat/namei.c to avoid a compile-time warning.
>
> Index: linux/fs/vfat/namei.c
> --- linux/fs/vfat/namei.c:1.2 Fri Sep 1 19:03:16 2000
> +++ linux/fs/vfat/namei.c Thu Sep 28 00:53:55 2000
> @@ -676,7 +676,8 @@
> i += 4;
> } else {
> int llen;
> - nls->char2uni(ip, &llen, op, op+1);
> + nls->char2uni((unsigned char *)ip,
> + &llen, op, op+1);
> op += 2;
> ip += llen;
> i += llen;
>
>

char2uni's rawstring is not changed.

The correct fix is a much larger patch which changes char2uni's
declaration to include const, and then all the changes that trickle down
from there.

        Jeff

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Oct 07 2000 - 21:00:11 EST