Re: 2.1GB File Size Limit

Andreas Schwab (schwab@issan.informatik.uni-dortmund.de)
22 Feb 1999 11:52:13 +0100


"Albert D. Cahalan" <acahalan@cs.uml.edu> writes:

|> They changed FILE, which is much more likely to be passed around
|> between libraries. Perhaps the glibc people were in code freeze.

FILE is very different. It is an opaque type that you must never allocate
by yourself (neither statically nor dynamically), you only ever pass
pointers to it around. On the other hand, struct stat must be allocated
by the caller, thus if you change its size all hell breaks loose.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.cs.uni-dortmund.de                      completely different"
schwab@gnu.org

- 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/