Alvaro Herrera wrote:
> His question was: is it possible that we're handing a NULL pointer to a
> %s on fprintf? The involved code looks like this:
>
> fprintf(stderr,
> "%s: %lu total in %ld blocks; %lu free (%ld chunks); %lu used\n",
> set->header.name, totalspace, nblocks, freespace, nchunks,
> totalspace - freespace);
Note that glibc prints "(null)" if you pass NULL for %s. Others don't.
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com