Mail Archives: djgpp-workers/1998/03/31/20:34:45
Good work, Eli!
Your last proposed patch regarding djtar corrects the problems I've
stumbled into.
I happened to see signs of that there is some support for full disk
error handling in djtar already:
kant:~> grep NOSPC /DOS/d/tmp/djlib/djlib202/src/utils/djtar/*.c
/DOS/d/tmp/djlib/djlib202/src/utils/djtar/epunzip.c: errno = ENOSPC;
/DOS/d/tmp/djlib/djlib202/src/utils/djtar/untar.c: errno = ENOSPC;
/DOS/d/tmp/djlib/djlib202/src/utils/djtar/untar.c: if (write_errno == ENOSPC) /* target disk full: quit early */
And if you examine the output of djtar you see a printout about NOSPC
scrolling past, when the disk becomes full. Alas, it scrolls past
very fast because of a huge amount of EBADF or something similar.
Perhaps there's another bug lurking somewhere?
Thanks,
MartinS
- Raw text -