Re: [tor-bugs] #26142 [Core Tor/Tor]: replace uses of U64_* and I64_* macros with their C99 stdint.h or inttypes.h equivalents

2018-07-05 Thread Tor Bug Tracker & Wiki
#26142: replace uses of U64_* and I64_* macros with their C99 stdint.h or
inttypes.h equivalents
-+
 Reporter:  catalyst |  Owner:  (none)
 Type:  defect   | Status:  closed
 Priority:  Medium   |  Milestone:  Tor: 0.3.5.x-final
Component:  Core Tor/Tor |Version:
 Severity:  Normal   | Resolution:  implemented
 Keywords:  technical-debt, cleanup  |  Actual Points:
Parent ID:   | Points:
 Reviewer:   |Sponsor:
-+
Changes (by nickm):

 * status:  new => closed
 * resolution:   => implemented


Comment:

 Closing as duplicate of #26626, which we implemented.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #26142 [Core Tor/Tor]: replace uses of U64_* and I64_* macros with their C99 stdint.h or inttypes.h equivalents

2018-05-21 Thread Tor Bug Tracker & Wiki
#26142: replace uses of U64_* and I64_* macros with their C99 stdint.h or
inttypes.h equivalents
-+
 Reporter:  catalyst |  Owner:  (none)
 Type:  defect   | Status:  new
 Priority:  Medium   |  Milestone:  Tor: 0.3.5.x-final
Component:  Core Tor/Tor |Version:
 Severity:  Normal   | Resolution:
 Keywords:  technical-debt, cleanup  |  Actual Points:
Parent ID:   | Points:
 Reviewer:   |Sponsor:
-+

Comment (by nickm):

 +1.  And also see macros in torint.h.

 An ideal patch here would be a script-generated one, to make it easier to
 audit.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

[tor-bugs] #26142 [Core Tor/Tor]: replace uses of U64_* and I64_* macros with their C99 stdint.h or inttypes.h equivalents

2018-05-20 Thread Tor Bug Tracker & Wiki
#26142: replace uses of U64_* and I64_* macros with their C99 stdint.h or
inttypes.h equivalents
--+-
 Reporter:  catalyst  |  Owner:  (none)
 Type:  defect| Status:  new
 Priority:  Medium|  Milestone:  Tor: 0.3.5.x-final
Component:  Core Tor/Tor  |Version:
 Severity:  Normal|   Keywords:  technical-debt, cleanup
Actual Points:|  Parent ID:
   Points:|   Reviewer:
  Sponsor:|
--+-
 There are many macros in compat.h that try to portably handle 64-bit
 integer values in `printf()` and `scanf()` calls.  Now that we seem to
 require C99, we should use the equivalent macros from stdint.h or
 inttypes.h instead.  For example, `U64_FORMAT` is equivalent to `PRIu64`
 in inttypes.h.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs