[tor-bugs] #5070 [Tor Bridge]: tor complains there's no ClientTransportPlugin line when actually it just can't launch the exe

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon May 7 15:20:48 UTC 2012


#5070: tor complains there's no ClientTransportPlugin line when actually it just
can't launch the exe
------------------------+---------------------------------------------------
 Reporter:  arma        |          Owner:  asn               
     Type:  defect      |         Status:  needs_review      
 Priority:  normal      |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Bridge  |        Version:                    
 Keywords:  pt          |         Parent:                    
   Points:              |   Actualpoints:                    
------------------------+---------------------------------------------------

Comment(by nickm):

 Replying to [comment:8 asn]:
 > (I didn't know that ''Using %d to printf an enum may not be by-the-
 standard okay.''. Thanks.)

 No problem.  As I understand it, while C guarantees what the values of an
 enumeration's various enumerators are, it does _not_ guarantee the size of
 the enumerated type itself.  The standard says that an enumerated type
 "shall be compatible with char, a signed integer type, or an unsigned
 integer type.  The choice of type is implementation-defined..."  So under
 the covers, an enum is _usually_ an int, but you aren't technically
 allowed to depend on that.  (Again, this is assuming that I understand and
 am reading correctly.)

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


More information about the tor-bugs mailing list