PR: 58166 Submitted by: Cheng-Lung Sung <clsung@dragon2.net>
logic. PR: 21420 Submitted by: Mario Sergio Fujikawa Ferriera <lioux@uol.com.br>