bug-gnulib
[Top][All Lists]
Advanced

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

Re: bug#6053: cp, ls, and mv bug: unknown error (252)


From: Eric Blake
Subject: Re: bug#6053: cp, ls, and mv bug: unknown error (252)
Date: Thu, 10 Jun 2010 07:32:35 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Lightning/1.0b2pre Mnenhy/0.8.2 Thunderbird/3.0.4

On 06/10/2010 07:22 AM, Callahan, Patrick M. wrote:
>     if ((errno == ENOSYS || errno == EOPNOTSUPP)
>     ...
> You could get in a debugger and determine where
> to add "|| errno == 252" to solve what appears to be
> an HP-UX-and/or-cvfs-specific problem.
> 
> However, such a change is not appropriate for others,
> and I doubt it will be worthwhile to attempt an
> upstream workaround.
> 
> [>> Agree. Appreciate the response. Restores my faith in humanity when
> [>> I have to spend a lot of times with vendors whose only interest
> [>> seems to be to separate me from as much as my budget as they can
> [>> get.

Can you confirm Pádraig's google analysis that 252 is ENOTSUP on your
platform?  If we have a symbolic name, then we can patch the code quite
easily.  We can also patch the gnulib strerror and perror to detect the
failure to handle ENOTSUP gracefully.

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]