<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/dnx/patches/" rel="alternate"/><link href="https://sourceforge.net/p/dnx/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/dnx/patches/</id><updated>2008-08-14T16:02:04Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>HOST_NAME_MAX undefined on some systems</title><link href="https://sourceforge.net/p/dnx/patches/2/" rel="alternate"/><published>2008-08-14T16:02:04Z</published><updated>2008-08-14T16:02:04Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net1b20127229fced83d4f4f452be647667e1ce7dbe</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hey there,&lt;/p&gt;
&lt;p&gt;I’m packaging DNX for Fedora based on John Calcote’s OpenSUSE specfile, and I ran across the following issue:&lt;/p&gt;
&lt;p&gt;DNX relies on the HOST_NAME_MAX macro in common/dnxTcp.h and common/dnxUdp.h. This constant is not guaranteed to work on POSIX systems, and leads to build problems in several versions of Fedora and elsewhere. Instead, sysconf(_SC_HOST_NAME_MAX) should be used at runtime to retrieve the value from the running kernel. I've also added support for MAXHOSTNAMELEN on older Solaris, and fall back to a sensible default (255) on other platforms.&lt;/p&gt;
&lt;p&gt;This is defined as a new int, max_hostname, in common/dnxProtocol.c. Changes were made to common/dnxTcp.c and common/dnxUdp.c to make them only error out if the length is greater than 0, as -1 indicates the system does not have a maximum hostname size.&lt;/p&gt;
&lt;p&gt;See attached patch.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>patch for nagios-2.10</title><link href="https://sourceforge.net/p/dnx/patches/1/" rel="alternate"/><published>2007-11-22T17:30:17Z</published><updated>2007-11-22T17:30:17Z</updated><author><name>Graham</name><uri>https://sourceforge.net/u/colling2/</uri></author><id>https://sourceforge.net84882fe7c98579219a917fc2f238ff670172cd77</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I've not tested this much yet so far but I've modified the existing patch to apply against 2.10&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>