From 02a5cb5242f8f3b0b50b9702aea3900a6740e054 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 5 Mar 2016 23:55:20 +0100 Subject: [PATCH] Revert "perl plugin: mark file variable as const" It breaks the build on RHEL5 This reverts commit 43d7245c20930161284e5784fbf115d1221a5951. --- src/perl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/perl.c b/src/perl.c index 36c1e267..c25bfe89 100644 --- a/src/perl.c +++ b/src/perl.c @@ -2179,9 +2179,9 @@ static MGVTBL g_interval_vtbl = { /* bootstrap the Collectd module */ static void xs_init (pTHX) { - HV *stash = NULL; - SV *tmp = NULL; - const char *file = __FILE__; + HV *stash = NULL; + SV *tmp = NULL; + char *file = __FILE__; int i = 0; -- 2.11.0