[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] c-string return question
From: |
Alan Post |
Subject: |
Re: [Chicken-users] c-string return question |
Date: |
Thu, 13 Oct 2011 12:09:51 -0601 |
On Thu, Oct 13, 2011 at 02:07:04PM -0400, John Cowan wrote:
> Jörg F. Wittenberger scripsit:
>
> > So I'll stick with the test case and remove the "static" keyword from
> > the buffer definition once I have an updated gcc in my production
> > environment.
>
> "Program testing can be used to show the presence of bugs, but never to
> show their absence!" --Edsger Dijkstra
>
> And this is especially true for Heisenbugs like this. Keep the 'static'
> permanently: it's safe and it costs essentially nothing.
>
It does make the routine non-reentrant. Does that matter here?
-Alan
--
.i ma'a lo bradi cu penmi gi'e du
Re: [Chicken-users] c-string return question, Jim Ursetto, 2011/10/13
Re: [Chicken-users] c-string return question, Jörg F . Wittenberger, 2011/10/13
Re: [Chicken-users] c-string return question, Jörg F . Wittenberger, 2011/10/13