projects
/
projects
/
chimara
/
chimara.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix obscure C stdio bug
[projects/chimara/chimara.git]
/
libchimara
/
stream.h
diff --git
a/libchimara/stream.h
b/libchimara/stream.h
index b60e022f70703f47c845282978fff77244866f3e..325b668bb22c96527b3199af9ee892342d875113 100644
(file)
--- a/
libchimara/stream.h
+++ b/
libchimara/stream.h
@@
-48,6
+48,7
@@
struct glk_stream_struct
FILE *file_pointer;
gboolean binary;
gchar *filename; /* Displayable filename in UTF-8 for error handling */
FILE *file_pointer;
gboolean binary;
gchar *filename; /* Displayable filename in UTF-8 for error handling */
+ glui32 lastop; /* 0, filemode_Write, or filemode_Read */
gchar *style; /* Name of the current style */
gchar *glk_style; /* Name of the current glk style override */
gchar *style; /* Name of the current style */
gchar *glk_style; /* Name of the current glk style override */