GNU bug report logs - #6053
cp, ls, and mv bug: unknown error (252)

Previous Next

Package: coreutils;

Reported by: "Callahan, Patrick M." <pat.callahan <at> gd-ais.com>

Date: Tue, 27 Apr 2010 14:07:01 UTC

Severity: normal

Tags: fixed, moreinfo

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #28 received at 6053 <at> debbugs.gnu.org (full text, mbox):

From: Eric Blake <eblake <at> redhat.com>
To: "Callahan, Patrick M." <pat.callahan <at> gd-ais.com>
Cc: bug-gnulib <at> gnu.org, 6053 <at> debbugs.gnu.org, Jim Meyering <jim <at> meyering.net>,
	Bob Proulx <bob <at> proulx.com>
Subject: Re: bug#6053: cp, ls, and mv bug: unknown error (252)
Date: Thu, 10 Jun 2010 07:32:35 -0600
[Message part 1 (text/plain, inline)]
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   eblake <at> redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 6 years and 280 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.