Clint Adams <[EMAIL PROTECTED]> wrote:

> > http://patches.ubuntu.com/patches/cpio.CAN-2005-1111_1229.diff
[...]
> -      if (chmod (d->header.c_name, (int) d->header.c_mode) < 0)
> +      if (fchmod (out_file_des, (int) d->header.c_mode) < 0)

Thank you. However, fchmod is not in the POSIX standard, so the proposed
change breaks cpio portability.

I will try to find a workaround.

Regards,
Sergey


_______________________________________________
Bug-cpio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-cpio

Reply via email to