From: Petr Baudis Date: Thu, 19 May 2005 06:52:07 GMT Subject: Re: [PATCH 0/4] Pulling refs files Message-ID: <20050519065207.GB18281@pasky.ji.cz> In-Reply-To: Dear diary, on Thu, May 19, 2005 at 05:19:01AM CEST, I got a letter where Daniel Barkalow told me that... > 2) fetching reference files by name, and making them available to the > local program without writing them to disk at all. > 3) fetching other files by name and writing them to either the > corresponding filename or a provided replacement. > > I had thought that (2) could be done as a special case of (3), but I think > that it has to be separate, because (2) just returns the value, while > (3) can't just return the contents, but has to write it somewhere, since > it isn't constrained to be exactly 20 bytes. Huh. How would (2) be useful and why can't you just still write it e.g. to some user-supplied temporary file? I think that'd be still actually much less trouble for the scripts to handle. -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor