Artifact 35d52654ca751a6770743f71e0a7e2b57b87379a5e2a11117ed8c759672d681b:
- File
src/of_asprintf.m
— part of check-in
[7267f55840]
at
2021-01-01 18:36:01
on branch trunk
— Better fallback asprintf() implementation
Instead of trying if it's C99 compliant and falling back to a 64 KB
buffer if it is not, resize the buffer in powers of 2 until it fits.The problem is that some implementations that are not compliant with C99
don't just return -1 for a length of 0, but actually crash (e.g. HP-UX). (user: js, size: 16630) [annotate] [blame] [check-ins using]
A hex dump of this file is not available. Please download the raw binary file and generate a hex dump yourself.