[ 
https://issues.apache.org/jira/browse/AVRO-1092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vivek Nadkarni updated AVRO-1092:
---------------------------------

    Attachment: AVRO-1092-patch-2.patch

I downloaded the patch to test it out in Windows, since you had called
out the potential Windows incompatibility. The code didn't compile
under Windows, but I was able to get the code to compile and pass
tests with a minor modification. 

I am attaching my minor modification as a patch that should be applied
on top of AVRO-1092.patch. This patch should be applied from within
the avro-trunk/lang/c directory.

My patch also updates the file README.maintaining_win32.txt, to
capture the inability of MSVC++ to support structure initialization
using element names.


                
> avro-c: improving thread safety in error management code
> --------------------------------------------------------
>
>                 Key: AVRO-1092
>                 URL: https://issues.apache.org/jira/browse/AVRO-1092
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>    Affects Versions: 1.6.3, 1.7.0
>            Reporter: Pugachev Maxim
>            Priority: Critical
>         Attachments: AVRO-1092-patch-2.patch, AVRO-1092.patch
>
>
> Error management code isn`t thread safe at all. I wrote a patch for this 
> issue, but it works only for *nix systems.
> Affected functions: avro_set_error(), avro_prefix_error()

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to