A
Anthony Roberts
It returns a char*... but where is the buffer? free() prints a debug
message saying it wasn't allocated when I try to free it. That implies
that there's a buffer somewhere managed by someone else. I'm okay with
that, but it would be a bit weird.
The man pages on OpenBSD 3.4 and MacOS 10.3 don't say anything about
it... and OpenBSD would have a paragraph on the issue if it was a
problem. But I'm still confused, so I'd be a happy man if anyone could
confirm that the buffer isn't my problem.
TIA for any help,
Anthony
message saying it wasn't allocated when I try to free it. That implies
that there's a buffer somewhere managed by someone else. I'm okay with
that, but it would be a bit weird.
The man pages on OpenBSD 3.4 and MacOS 10.3 don't say anything about
it... and OpenBSD would have a paragraph on the issue if it was a
problem. But I'm still confused, so I'd be a happy man if anyone could
confirm that the buffer isn't my problem.
TIA for any help,
Anthony