Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #5091

Closed (moved)
Open
Opened Feb 11, 2012 by Trac@tracbot

tor_strtok_r_impl incompatible with strtok_r

tor_strtok_r_impl doesn't behave strtok_r in certain cases, eg:

  • On empty string, it should return NULL directly (rather than an empty string).

  • When one of the separators is at the end of the input string, there should be no extra token at the end (ie. if you split "howdy!" on "!", there should be a single token "howdy", not "howdy" and "").

  • When the input string consists exclusively of separator characters, there should be no tokens.

Trac:
Username: emanchado

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Tor: 0.2.3.x-final
Milestone
Tor: 0.2.3.x-final
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#5091