Use the standard function
CVS patchset: 6391 CVS date: 2005/05/24 12:53:48
Mercurial revision: 7b29c6e780fa7a530b9290169ddb7e2407d2f0dc