2012/5/5 niXman :
> 2012/5/5 Kai Tietz:
>> Could somebody do tests if the LastError state can be really changed?
>
> About what tests there is a speech?
I suppose that not only pthread_getspecific() changes last_error.
As I already spoke earlier, winpthreads-api shan't change last_error
value beca
2012/5/5 Kai Tietz:
> Could somebody do tests if the LastError state can be really changed?
About what tests there is a speech?
--
Regards,
niXman
--
Live Security Virtual Conference
Exclusive live event will cover a
2012/5/5 Ozkan Sezer :
> On 5/4/12, niXman wrote:
>> Hi,
>>
>> This simple code change the last error which sometimes is not allowed:
>>> #include
>>> int main() {
>>> SetLastError(33);
>>> pthread_getspecific(0);
>>> return GetLastError();
>>> }
>>>
>>> $ gcc test.c -otest
>>> $ .
On 5/4/12, niXman wrote:
> Hi,
>
> This simple code change the last error which sometimes is not allowed:
>> #include
>> int main() {
>> SetLastError(33);
>> pthread_getspecific(0);
>> return GetLastError();
>> }
>>
>> $ gcc test.c -otest
>> $ ./test; echo $?
>> $ 0
>
> Tell me ple
Hi,
This simple code change the last error which sometimes is not allowed:
> #include
> int main() {
> SetLastError(33);
> pthread_getspecific(0);
> return GetLastError();
> }
>
> $ gcc test.c -otest
> $ ./test; echo $?
> $ 0
Tell me please, have anyone faced with this problem?