Ticket #2154 (closed RFC: done)
Add mem_sys_strndup() function
Reported by: | Felipe | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | imcc | Version: | 3.5.0 |
Severity: | low | Keywords: | |
Cc: | Language: | ||
Patch status: | new | Platform: | all |
Description
Reading imcc.l file I see that we could save some strlen calls by introducing a strndup()-like function and using the yyleng variable.
I've created a branch and committed such changes: https://github.com/felipensp/parrot/commit/3fc47528b19f9cbfc73bba7aa2d3da3c265f8f47 https://github.com/felipensp/parrot/commit/4d43e86c8a6e0269c2240681bedae850464ad7b2
Change History
Note: See
TracTickets for help on using
tickets.