Re: [PATCH] fix menuconfig if saving on different fs

Roman Zippel (zippel@linux-m68k.org)
Wed, 28 May 2003 18:41:34 +0200 (CEST)


Hi,

On Mon, 26 May 2003, Michael Buesch wrote:

> + while ((l = fgetc(out)) != EOF) {
> + if (fputc(l, out_new) == EOF) {
> + fclose(out);
> + fclose(out_new);
> + return 1;
> + }

I don't really like this file copy, I'd rather create the file in the
destination directory. I fixed this here a bit different.

bye, Roman

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