libosmocore[master]: add libpseudotalloc as super-simplistic talloc replacement

2017-05-17 Thread Harald Welte
Patch Set 2: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/2651 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ie341034076f242a813f081919dd09d845775ad35 Gerrit-PatchSet: 2 Gerrit-Project: libosmocore Gerrit-Branch: master

[MERGED] libosmocore[master]: add libpseudotalloc as super-simplistic talloc replacement

2017-05-17 Thread Harald Welte
Harald Welte has submitted this change and it was merged. Change subject: add libpseudotalloc as super-simplistic talloc replacement .. add libpseudotalloc as super-simplistic talloc replacement In tightly embedded builds

libosmocore[master]: add libpseudotalloc as super-simplistic talloc replacement

2017-05-17 Thread Harald Welte
Patch Set 2: Code-Review+1 thanks, this was actually the idea, but it got lost in a copy+paste mistake. Uploaded an updated version. -- To view, visit https://gerrit.osmocom.org/2651 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id:

libosmocore[master]: add libpseudotalloc as super-simplistic talloc replacement

2017-05-17 Thread Vadim Yanitskiy
Patch Set 1: (1 comment) https://gerrit.osmocom.org/#/c/2651/1/src/pseudotalloc/pseudotalloc.c File src/pseudotalloc/pseudotalloc.c: Line 45:memcpy(ptr, p, strlen(p)+1); We could use already calculated: len+1 -- To view, visit https://gerrit.osmocom.org/2651 To unsubscribe, visit