bug in hPutPS

Volker Stolz stolz+libraries@i2.informatik.rwth-aachen.de
Wed, 23 Apr 2003 12:26:26 +0200


In local.libraries, you wrote:
> hPutPS (at least as packaged in ghc 5.04.2--I haven't yet tried with
> 5.04.3) fails when given an empty string with the error:
> 
> Action: hPutArray
> Handle: {loc=<stdout>,type=writable,binary=False,buffering=none}
> Reason: illegal buffer size 0
> 
> I guess maybe this is actually a bug in hPutArray (which I know nothing
> about), but I'm sure that one should be able to output an empty string.

hPutArray with count = 0 probably shouldn't fail, I'll check this.
If generating an empty array in hPutPS is a bug I cannot tell.

Volker
-- 
http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME
rage against the finite state machine