[plt-scheme] reading a whole file

From: Shriram Krishnamurthi (sk at cs.brown.edu)
Date: Tue Nov 4 09:42:05 EST 2008

The Cookbook version has a slight non-atomicity problem (the file size
may change between the FILE-SIZE and the READ-STRING).  I don't know
quite how that works out in the version Veer posted (presumably the
same problem, because FILE-SIZE is being called on the file*name*, not
on the port descriptor).  I guess file operation atomicity is
OS-specific anyway.


Posted on the users mailing list.