Opened 7 years ago

Closed 7 years ago

#1989 closed enhancement (fixed)

Implement pj_strtok()/pj_strtok2() to replace strtok()

Reported by: riza Owned by: bennylp
Priority: normal Milestone: release-2.6
Component: pjlib Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description

This ticket will implement new APIs:

  • pj_strspn() / pj_strspn2()
  • pj_strcspn() / pj_strcspn2()
  • pj_strtok() / pj_strtok2()

They are used as a replacement to strtok() which is not thread safe.

Change History (1)

comment:1 Changed 7 years ago by riza

  • Resolution set to fixed
  • Status changed from new to closed

In r5520:

Close #1989: Implement pj_strtok()/pj_strtok() as a replacement to strtok().

Note: See TracTickets for help on using tickets.