lkml.org 
[lkml]   [2000]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectO_LARGEFILE
Date
On Solaris when I open a device file for a >2G hard drive without O_LARGEFILE
then I can only read the first 2G of data. On Linux 2.4.0-test5 (and all
other versions I have tested) and Glibc 2.1.3 (and all other libc versions I
have tested) I can open /dev/hda without O_LARGEFILE and read as much data as
there is.
Does this constitute a bug in Linux? Is it planned to be fixed?

I know this seems a bit picky, but it would be easier to develop software
that is portable to other versions of Unix if this sort of thing just worked.

--
My current location - X marks the spot.
X
X
X

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.051 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site