mirror of
https://github.com/php/php-src.git
synced 2024-11-25 10:54:15 +08:00
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4: fix end of stream exception when generating makefile
This commit is contained in:
commit
efcc789ef8
@ -1821,7 +1821,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();
|
||||
|
Loading…
Reference in New Issue
Block a user