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/