Sorry, not yet tested the patch Ludovic Rousseau Because the version of the 
source I used is the 4620 so I'm updating my sources on Visual and I did the 
tests with the patch.

Here is another patch to remove the traces of C99 in the code that Visual 
cardmod can compile the code.

Sorry for my english is very bad so I use Google Translate.

Sincerely,
GJean
_______________________________
De : JEAN Guillaume
Date d'envoi : mercredi 15 septembre 2010 14:46
À : JEAN Guillaume
Objet : RE : [opensc-devel] RE :  OpenSC and Debug with Visual Studio

________________________________________
De : opensc-devel-boun...@lists.opensc-project.org 
[opensc-devel-boun...@lists.opensc-project.org] de la part de JEAN Guillaume 
[guillaume.j...@supinfo.com]
Date d'envoi : mercredi 15 septembre 2010 11:44
À : opensc-devel@lists.opensc-project.org
Objet : [opensc-devel] RE :  OpenSC and Debug with Visual Studio

I Try it.

_______________________________
De : Ludovic Rousseau [ludovic.rouss...@gmail.com]
Date d'envoi : mercredi 15 septembre 2010 11:32
À : JEAN Guillaume
Cc : opensc-devel@lists.opensc-project.org
Objet : Re: [opensc-devel] OpenSC and Debug with Visual Studio

Hello,

2010/9/15 JEAN Guillaume <guillaume.j...@supinfo.com>:
> I made a patch to remove a problem with the initialization of structures when 
> using Visual Studio debugger mode. Because
>  Visual Studio does not initialize the structure with 0 but random data. In 
> my case cdcdcdcd.

I don't think your patch is correct.
The problem is that refresh_attributes() is called with a not
correctly initialized reader parameter.

I propose the attached patch instead.
Can you try it and report success/failure?

Bye

--
 Dr. Ludovic Rousseau
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Attachment: Cardmod-Sup-C99.patch
Description: Cardmod-Sup-C99.patch

_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to