Apply modification since 4.7-RELEASE to 5.0-RC2
Submitted by: OHSAWA Chitoshi <ohsawa@ccn.aitai.ne.jp>