shithub: freetype+ttf2subf

Download patch

ref: b8fdcd68d23d1e414df2e5c9c31bd43fad9887bd
parent: d232f593832f55b6101b6cda1c688a4c5f6add07
author: Werner Lemberg <[email protected]>
date: Mon Aug 2 23:28:11 EDT 2004

* src/base/ftobjs.c (FT_Attach_File): Initialize `open.stream'.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-08-02  George Williams  <[email protected]>
+
+	* src/base/ftobjs.c (FT_Attach_File): Initialize `open.stream'.
+
 2004-08-01  Werner Lemberg  <[email protected]>
 
 	* docs/CHANGES: Updated.
--- a/src/base/ftobjs.c
+++ b/src/base/ftobjs.c
@@ -1744,6 +1744,7 @@
     if ( !filepathname )
       return FT_Err_Invalid_Argument;
 
+    open.stream   = NULL;
     open.flags    = FT_OPEN_PATHNAME;
     open.pathname = (char*)filepathname;