cfengine/core — pull request #1006 by McAtte (2013-10-10 12:39:07+00:00)
Title: rewrite the host name if the results of uname happen to be shorter than ...

Some platforms (HP-UX) truncate the node name part when calling uname(). Use the hostname part of the fully qualified domain name from gethostname() to rewrite the node name.