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

Must i worry about errno == -303 EMIG_BAD_ID ?


does errno -303 announce bigger trouble ?
In /usr/include/i386-gnu/bits/errno.h i see:
        /* Errors from <mach/mig_errors.h>.  */
        EMIG_BAD_ID             = -303  /* bad request message ID */,

It happens when trying to apply fsync(2) to an fd (value 4) which was
obtained by dup(2) from standard output, which is connected to the
standard input of cat(1):

  xorriso -as mkisofs /some/dir | cat > image_piped.iso

The man page of fsync mentions as error codes for inappropriate fd:
      fd is bound to a special file which does not support synchro-
That would be errno == 30 , resp. 22, according to i386-gnu/bits/errno.h.

The same run on Linux yields errno == EINVAL (which is properly ignored by
libburn). I will now change the ignore condition to errno != EIO.

Have a nice day :)


Reply to: