summaryrefslogtreecommitdiff
path: root/sys/src/cmd/python/Modules/_sqlite
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2020-04-11 14:19:35 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2020-04-11 14:19:35 +0200
commitca9d65e40b3f78d2580fff9ff1844bad1be08673 (patch)
treea82f5577a3e5e93ea8b2865916f270ac1b41f81b /sys/src/cmd/python/Modules/_sqlite
parent49c159b50f113fe0c61cc841c14a6fc664f87b49 (diff)
cc: remove mysbrk(), exponentially increase gethunk() allocation delta
mysbrk() was only used in gethunk() and should not be called by anyone, so dont export the symbol. simplify gethunk() using brk(). double allocation size on each call until we reach 1000*NHUNK. use signed long for nhunk as alignment rountin might make it negative and handle that case.
Diffstat (limited to 'sys/src/cmd/python/Modules/_sqlite')
0 files changed, 0 insertions, 0 deletions