[tor-bugs] #26594 [Core Tor/Tor]: Tor becomes unresponsive after configuration handling on Windows

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jul 2 14:05:36 UTC 2018


#26594: Tor becomes unresponsive after configuration handling on Windows
--------------------------+----------------------------------
 Reporter:  ahf           |          Owner:  (none)
     Type:  defect        |         Status:  new
 Priority:  High          |      Milestone:  Tor: unspecified
Component:  Core Tor/Tor  |        Version:  Tor: unspecified
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+----------------------------------

Comment (by ahf):

 Replying to [comment:14 cypherpunks]:
 > This one
 > {{{
 > [ ... ]
 > }}}

 Result:

 {{{
 ahf at SHU MINGW64 ~ $ x86_64-w64-mingw32-gcc test.c
 In file included from test.c:3:0:
 test.c:6:5: warning: '_stricmp' redeclared without dllimport attribute:
 previous dllimport ignored [-Wattributes]
  int strcasecmp(const char *s1, const char *s2)
 __attribute__((optimize("O2")));
      ^
 ahf at SHU MINGW64 ~ $ ./a.exe
 Ret: 0
 ahf at SHU MINGW64 ~ $ x86_64-w64-mingw32-gcc -O2 test.c
 test.c:6:1: warning: optimization attribute on 'strcasecmp' follows
 definition but the attribute doesn't match [-Wattributes]
  int strcasecmp(const char *s1, const char *s2)
 __attribute__((optimize("O2")));
  ^~~
 In file included from test.c:3:0:
 C:/msys64/mingw64/x86_64-w64-mingw32/include/string.h:117:28: note:
 previous definition of 'strcasecmp' was here
    __CRT_INLINE int __cdecl strcasecmp (const char *__sz1, const char
 *__sz2) { return _stricmp (__sz1, __sz2); }
                             ^~~~~~~~~~
 ahf at SHU MINGW64 ~ $ ./a.exe
 Ret: 0
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26594#comment:16>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list