[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: errno bug?
From: |
Ulrich Eckhardt |
Subject: |
Re: errno bug? |
Date: |
Thu, 07 Oct 2004 22:35:39 +0200 |
User-agent: |
KNode/0.7.7 |
E. Robert Tisdale wrote:
> Ross Smith wrote:
>> As several people have already explained to you,
>> you are not allowed to write
>
> I didn't write "extern int errno".
> It appears in already existing (now broken) code.
>
[examples]
You are right, that code is now broken. However, a single, global errno is
useless in a multithreaded context - the mentioned function uses
thread-local storage.
I hope you now understand why the extern int declaration was deprecated,
else I feel sympathetic with you, but fixing that code will probably be
easy.
Uli
--
http://gcc.gnu.org/faq.html
http://parashift.com/c++-faq-lite/
- errno bug?, E. Robert Tisdale, 2004/10/06
- Re: errno bug?, Maurizio Loreti, 2004/10/06
- Re: errno bug?, Thomas Maeder, 2004/10/06
- Re: errno bug?, Maurizio Loreti, 2004/10/06
- Re: errno bug?, E. Robert Tisdale, 2004/10/06
- Re: errno bug?, Thomas Maeder, 2004/10/06
- Re: errno bug?, E. Robert Tisdale, 2004/10/06
- Re: errno bug?, Ross Smith, 2004/10/07
- Re: errno bug?, E. Robert Tisdale, 2004/10/07
- Re: errno bug?,
Ulrich Eckhardt <=
- Re: errno bug?, E. Robert Tisdale, 2004/10/07
- Re: errno bug?, Paul Pluzhnikov, 2004/10/06