Ticket #1989 (closed enhancement: fixed)

Opened 7 months ago

Last modified 7 months ago

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

comment:1 Changed 7 months ago by riza

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

In r5520:

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

Note: See TracTickets for help on using tickets.