[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/image writer.c, 1.14, 1.15 pecoff_writer
From: |
Richard Baumann <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/image writer.c, 1.14, 1.15 pecoff_writer.c, 1.14, 1.15 |
Date: |
Tue, 22 Jul 2003 17:01:39 -0400 |
Update of /cvsroot/dotgnu-pnet/pnet/image
In directory subversions:/tmp/cvs-serv29010/image
Modified Files:
writer.c pecoff_writer.c
Log Message:
Fix ILWriterSetStream behavior for seekable streams.
Index: writer.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/image/writer.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** writer.c 20 Jul 2003 19:04:59 -0000 1.14
--- writer.c 22 Jul 2003 21:01:37 -0000 1.15
***************
*** 161,173 ****
}
- void ILWriterSetStream(ILWriter *writer, FILE *stream, int seekable)
- {
- if (!(writer->stream) && stream)
- {
- writer->stream = stream;
- writer->seekable = seekable;
- }
- }
-
/*
* Write the contents of a buffer list to the ".text" section.
--- 161,164 ----
Index: pecoff_writer.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/image/pecoff_writer.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** pecoff_writer.c 20 Jul 2003 19:04:59 -0000 1.14
--- pecoff_writer.c 22 Jul 2003 21:01:37 -0000 1.15
***************
*** 1072,1075 ****
--- 1072,1088 ----
}
+ void ILWriterSetStream(ILWriter *writer, FILE *stream, int seekable)
+ {
+ if (!(writer->stream) && stream)
+ {
+ writer->stream = stream;
+ if (seekable)
+ {
+ WriteFlush(writer);
+ }
+ writer->seekable = seekable;
+ }
+ }
+
int ILWriterResetTypeAndFlags(ILWriter *writer, int type, int flags)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/image writer.c, 1.14, 1.15 pecoff_writer.c, 1.14, 1.15,
Richard Baumann <address@hidden> <=