bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] [GNU tar 1.25] testsuite: 12 56 100 101 failed


From: Eric Blake
Subject: Re: [Bug-tar] [GNU tar 1.25] testsuite: 12 56 100 101 failed
Date: Mon, 08 Nov 2010 10:33:12 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Fedora/3.1.6-1.fc14 Mnenhy/0.8.3 Thunderbird/3.1.6

On 11/08/2010 10:27 AM, Joerg Schilling wrote:
> Petr Sumbera <address@hidden> wrote:
> 
> What should HAVE_PARTLY_WORKING_GETCWD be?
> 
> If the pointer to the first argument of getcwd() is a NULL pointer, the 
> result 
> is unspecified. Purple smoke could therefore be a "valid" result ;-)

The proposed patch is to a gnulib file, so the report should be sent to
bug-gnulib.  However, I fail to see why the patch is necessary - gnulib
should already be arranging to supply a getcwd() replacement that
automatically mallocs when the second argument is NULL, per glibc
behavior, even on platforms where that behavior is normally undefined as
per POSIX.  So the real bug is determining why gnulib's getcwd()
replacement is not properly kicking in for your platform.

-- 
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]