Makopo/lslint

It doesn't work on Windows7

Closed this issue · 4 comments

I tested it with on Win7 32bit and I found it does't work now. On WinXP, it works. I have seen it worked fine on Win7 at least in October last year. I suspect it is nothing to do with cygwin64 or something, but recent windows update on Win7. I'll try to find what cause this problem as soon as possible.

@RayZopf found this issue and reported in bdd056a commit comment.

Currently doesn't work on Win7 x64 Ultimate either. Used to some time late last year though...

I found the cause of this issue.

Line 137 in logger.cc :

   if (file_path != NULL)
   {
      bp += sprintf(bp, "%s::", file_path); 
   }

access violation occurs at sprintf.

I don't know what Microsoft change the behavior around sprintf function.
Since it's late at night here, I'll rethink tomorrow(perhaps few hours later).

works now.

Thank you!

works