[e-lang] Patch to add inputStream/outputStream methods to File

Mark Miller erights at gmail.com
Sun Dec 6 17:40:33 PST 2009


Hi Thomas,

After looking them over, I have committed both of your patches without
modification. That race condition issue was tricky, thanks!

I have also committed some other cosmetic cleanups.

Tom, Terry just committed a change to Causeway so that it shuts down properly.



On Wed, Dec 2, 2009 at 4:32 AM, Thomas Leonard
<tal at it-innovation.soton.ac.uk> wrote:
> This patch adds inputStream and outputStream sugar methods to File.
>
> These are the equivalents of File.textWriter and File.textReader. This
> means that it is now possible to append binary data to a file in E, and
> it is also now possible to get an InputStream for a ReadOnlyFile.
>
> Thanks,
>
>
> --
> Dr Thomas Leonard
> IT Innovation Centre
> 2 Venture Road
> Southampton
> Hampshire SO16 7NP
>
> Tel: +44 0 23 8076 0834
> Fax: +44 0 23 8076 0833
> mailto:tal at it-innovation.soton.ac.uk
> http://www.it-innovation.soton.ac.uk
>
> _______________________________________________
> e-lang mailing list
> e-lang at mail.eros-os.org
> http://www.eros-os.org/mailman/listinfo/e-lang
>
>



-- 
Text by me above is hereby placed in the public domain

    Cheers,
    --MarkM


More information about the e-lang mailing list