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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user