1
0
mirror of https://github.com/php/php-src.git synced 2026-04-18 05:21:02 +02:00

fix end of stream exception when generating makefile

This commit is contained in:
Anatol Belski
2014-07-10 22:33:55 +02:00
parent 1f90dd3359
commit 02b661ecfc

View File

@@ -1806,7 +1806,9 @@ function generate_makefile()
MFO.Close();
TF = FSO.OpenTextFile("Makefile.objects", 1);
MF.Write(TF.ReadAll());
if (!TF.AtEndOfStream) {
MF.Write(TF.ReadAll());
}
TF.Close();
MF.Close();