WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
}
+#ifndef PATH_MAX
+/**
+ * Assumed maximum path length (for the configuration file name).
+ */
+#define PATH_MAX 4096
+#endif
+
+
int
main (int argc,
char *argv[])
{
- char cfg_name[128];
+ char cfg_name[PATH_MAX];
char *const xargv[] = {
"test-plugin-namestore",
"-c",