freetype/builds/vms
suzuki toshiya 4b71871418 Prevent to open a FT_Stream for zero-sized file on non-Unix.
builds/unix/ftsystem.c prevents to open an useless stream from
zero-sized file and returns FT_Err_Cannot_Open_Stream, but the
stream drivers for ANSI C, Amiga and VMS return useless streams.
For cross-platform consistency, all stream drivers should act
same.

* src/base/ftsystem.c (FT_Stream_Open): If the size of the opened
file is zero, FT_Err_Cannot_Open_Stream is returned.
* builds/amiga/src/base/ftsystem.c (FT_Stream_Open): Ditto.
* src/vms/ftsystem.c (FT_Stream_Open): Ditto.
2010-10-13 16:21:59 +09:00
..
ftconfig.h * src/base/ftobjs.c (open_face_PS_from_sfnt_stream): Remove compiler 2008-10-04 11:39:03 +00:00
ftsystem.c Prevent to open a FT_Stream for zero-sized file on non-Unix. 2010-10-13 16:21:59 +09:00