tail -f behaviour in ghc.
Simon Marlow
simonmar@microsoft.com
Tue, 28 Aug 2001 16:35:07 +0100
This is a multi-part message in MIME format.
------_=_NextPart_001_01C12FD7.041A7552
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
> Odd! Not only does it not have that behaviour in ghc-4.0[48], it also
> didn't seem to work when I tried coding it that way in C. Maybe tells
> you more about my C skills... ;-)
>=20
> I'll wait until the stable ghc-5.02, and then try this again, just in
> case this has indeed changed significantly recently, rather than it
> just being me missing something obvious.
Indeed, it appears not to work in GHC 5.00.2, but I've checked that it
does work with the forthcoming 5.02. Code is attached.
Cheers,
Simon
------_=_NextPart_001_01C12FD7.041A7552
Content-Type: application/octet-stream;
name="tail-f.hs"
Content-Transfer-Encoding: base64
Content-Description: tail-f.hs
Content-Disposition: attachment;
filename="tail-f.hs"
aW1wb3J0IElPCmltcG9ydCBDb25jdXJyZW50CmltcG9ydCBFeGNlcHRpb24KCm1haW4gPSBkbwog
IGggPC0gb3BlbkZpbGUgImZvbyIgUmVhZE1vZGUKICBsb29wIGgKICB3aGVyZSBsb29wIGggPSBk
byAKCSAgICAgICAgICBjIDwtIGNhdGNoSnVzdCBpb0Vycm9ycyAoaEdldENoYXIgaCkKCQkJICAo
XGUgLT4gaWYgaXNFT0ZFcnJvciBlIHRoZW4KCQkJCQl0aHJlYWREZWxheSAxMDAwMDAgPj4gbG9v
cCBoCgkJCQkgZWxzZSAgCgkJCQkJdGhyb3cgZQoJCQkgICkKCQkgIHB1dENoYXIgYwoJCSAgaEZs
dXNoIHN0ZG91dAoJCSAgbG9vcCBoCg==
------_=_NextPart_001_01C12FD7.041A7552--