[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1222522 - /subversion/branches/1.7.x/STATUS

From: Branko Čibej <brane_at_xbc.nu>
Date: Tue, 27 Dec 2011 10:50:12 +0100

On 27.12.2011 09:57, schamel23_at_spinor.com wrote:
> On 2011-12-25 10:57, Branko Čibej wrote:
>> On 25.12.2011 10:20, schamel23_at_spinor.com wrote:
>>> On 2011-12-25 07:00, Branko Čibej wrote:
>>>> On 25.12.2011 01:01, Mark Mielke wrote:
>>>>> Hey all. Just reading and I'm surprised that Subversion uses assert()
>>>>> in production code. I don't think this is typical practice.
>>>>
>>>> You should read my rant about that in this thread. :)
>>>
>>> Assertions should never call abort.
>>
>> You should tell that to the designers of the C runtime library. :)
>
> You mean the GNU runtime library,

No, I mean the C runtime library. Read a C textbook if you don't believe
me. assert() is required to call abort() if the condition is false.

-- Brane
Received on 2011-12-27 10:50:55 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.