[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mkisofs aborts but exit value is 0



scdbackup@gmx.net wrote:

> Hi,
>
> many thanks for taking care of mkisofs
> during all the years.
>
> >                                seterrno(EFBIG); 
> > BTW: File too large is usually used to deal with the same situation
> > when writng to a device that is too small.
> > Do you have an idea for a better errno?
>
> Possibly one should resort to
>   EIO              5      /* I/O error */

This would be a bad idea.

> "File too large" is in some way the contrary
> of the problem situation. Actually, the file was
> too small.
> Since comerr() does report the error text, this
> might become quite misleading :
>
>   mkisofs: File too large. cannot read from '/home/th.schmitt/mail/scdbackup'
>
> might happen with a file that has 0 bytes.

No, it may not (RTSL).

I would need to rethink the problem.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  
       schilling@fokus.fraunhofer.de	(work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
./



Reply to: