Re: Why the asprintf patch is still breaking the buildfarm

From: Manlio Perillo <manlio(dot)perillo(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Why the asprintf patch is still breaking the buildfarm
Date: 2013-10-22 08:42:12
Message-ID: 52663A64.2030600@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 22/10/2013 09:58, Tom Lane wrote:
> So I returned from vacation only to find that the buildfarm has a bad case
> of acne. All the Windows members are red or pink, and have been for
> awhile. Sigh.
>
> After some research I believe that I understand the reason for the CHECK
> failures, at least:
>
> 1. src/port/asprintf.c exhibits a truly touching faith that vsnprintf will
> report exactly the number of bytes that would have been required, even if
> the buffer is not that large. While this is what is specified in recent
> versions of the POSIX standard, older platforms have much sketchier
> behavior.
>

Just to be pedantic, this is required by C99.

> [...]

Regards Manlio Perillo

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Albe Laurenz 2013-10-22 09:39:07 Re: Getting Tuples list from an index
Previous Message Haribabu kommi 2013-10-22 08:39:46 Re: Heavily modified big table bloat even in auto vacuum is running