Fix to bug 1132 applied.
Fix to bug 1132 applied.

Thank you very much to Pete Zakel (phz@cadence.com) for your help in
spotting the problem and supplying a fix.

fjardon/motif,unix-junkie/motif,unix-junkie/motif,fjardon/motif,fjardon/motif,unix-junkie/motif