[haiku-commits] Re: r43026 - haiku/trunk/src/bin/coreutils/src

  • From: scottmc <scottmc2@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 31 Oct 2011 07:15:08 -0700

>
> Modified: haiku/trunk/src/bin/coreutils/src/copy.c
> ===================================================================
> --- haiku/trunk/src/bin/coreutils/src/copy.c    2011-10-31 10:18:03 UTC
(rev 43025)
> +++ haiku/trunk/src/bin/coreutils/src/copy.c    2011-10-31 10:20:50 UTC
(rev 43026)
> @@ -182,7 +182,7 @@
>
>        DIR *attributes = fs_fopen_attr_dir(fromFd);
>        if (attributes == NULL)
> -               return -1;
> +               return errno == B_UNSUPPORTED ? 0 : -1;
>
>        while ((dirent = fs_read_attr_dir(attributes)) != NULL) {
>                struct stat stat;
>
>

Can this be fixed in a way that can be upstreamed?

-scottmc

Other related posts: