problem opening file

Garry Hodgson garry@REDACTED
Wed Nov 14 19:20:28 CET 2001


i'm seeing something weird trying to open a file for reading.
i've gt two files in a directory, same permissions, differing
by size (and content, of course):

   $ ls -l *.zone
   -rw-rw-r--   1 garry    sage     2561435180 Nov 14 13:04 com.zone
   -rw-rw-r--   1 garry    sage     323447644 Nov  9 11:45 org.zone

when i try to open the files, the smaller one works, the larger fails:

   $ erl
   Erlang (BEAM) emulator version 5.0.2.4 [source]

   Eshell V5.0.2.4  (abort with ^G)
   1> file:open( "org.zone", read ).
   {ok,<0.29.0>}
   2> file:open( "com.zone", read ).
   {error,unknown}

anybody know why?

-- 
Garry Hodgson                   One way or another
Senior Hacker                   One way or another
Software Innovation Services    One way or another
AT&T Labs                       This darkness got to give...
garry@REDACTED



More information about the erlang-questions mailing list