From: Mike Schilling on
Eric Sosman wrote:
> On 4/18/2010 10:01 PM, Arne Vajh�j wrote:
>> On 16-04-2010 14:16, Eric Sosman wrote:
>>> [... file flavors on (Open)VMS ...]
>>> As I recall, we got a pretty good match for C's notions of
>>> file I/O by using StreamLF for "text" files and Undef for "binary"
>>> files.
>>
>> Those are the logical choices. But the VMS traditional way is to
>> use fixed 512 for binary.
>
> Wouldn't have worked for our purposes, because we needed to
> support "binary" files of arbitrary length, not just multiples of
> 512.

I recall, many years ago, having problems with that. I was trying to write a
File IO library that would be portable to Unix and VMS, and needed files to
be of arbitraty length. RMS only supported files whose length was divisible
by 4 (or perhaps 2), so that required using the ACP's QIO interface. Not
fun.


First  |  Prev  | 
Pages: 1 2 3 4 5 6 7 8 9
Prev: Still don't get LayoutManagers
Next: JNDI searches