svn commit: r261604 - head/contrib/libc++/include

Eitan Adler eadler at freebsd.org
Fri Feb 7 18:27:05 UTC 2014


On Fri, Feb 7, 2014 at 1:14 PM, Alan Somers <asomers at freebsd.org> wrote:
> On Fri, Feb 7, 2014 at 11:10 AM, Eitan Adler <eadler at freebsd.org> wrote:
>> Author: eadler
>> Date: Fri Feb  7 18:10:34 2014
>> New Revision: 261604
>> URL: http://svnweb.freebsd.org/changeset/base/261604
>>
>> Log:
>>   HEAD is not buildable for the past day.  Commit a 'quick fix' in order to permit
>>   buildworld to complete.
>>
>>   Reviewed by:  theraven
>>
>> Modified:
>>   head/contrib/libc++/include/locale
>
> Are you sure that this will work on all architectures?

I didn't run 'make universe' but I think it should work.  This was
committed this after waiting a day for a real fix to be done.  I
had / have other work which I needed to get done and did not analize
this code in detail.

>   It implicitly
> assumes that ptrdiff_t is the same as long.

It assumes that ptrdiff_t is signed and sizeof (ptrdiff_t) <= sizeof(long).

Please feel free to modify my hack or otherwise fix the code.


-- 
Eitan Adler
Source, Ports, Doc committer
Bugmeister, Ports Security teams


More information about the svn-src-head mailing list