diff options
author | bouyer <bouyer@pkgsrc.org> | 2004-03-21 00:31:54 +0000 |
---|---|---|
committer | bouyer <bouyer@pkgsrc.org> | 2004-03-21 00:31:54 +0000 |
commit | 2004ee4bbc49b0354b1c3da6716fcd3d9ea67ce4 (patch) | |
tree | 3f26091bb478463c3883f01fca49a992d3813476 /pkgtools/rdigest | |
parent | f4f117ff6bf682e953e84040c23b3798214981a8 (diff) | |
download | pkgsrc-2004ee4bbc49b0354b1c3da6716fcd3d9ea67ce4.tar.gz |
Some compilers (e.g. Sunpro) emit one char[] per string, even when
multiple identical strings appear in a source file.
As a result, comparing char *o to the "" pointer gives the wrong result
in vis.c, as the "" pointer we're checking against isn't the same as the
"" which initialised char *o.
Use a global pointer initialised to "", and use it for MAKEEXTRALIST()
calls.
Thanks to Christos Zoulas for suggesting the right solution :)
Diffstat (limited to 'pkgtools/rdigest')
0 files changed, 0 insertions, 0 deletions