From e735ab8cfbb03dfcc3da4df7cc4a3efa35a12b5b Mon Sep 17 00:00:00 2001
From: Naveen Albert <asterisk@phreaknet.org>
Date: Tue, 16 Jan 2024 16:58:22 -0500
Subject: [PATCH] logger: Fix linking regression.

Commit 008731b0a4b96c4e6c340fff738cc12364985b64
caused a regression by resulting in logger.xml
being compiled and linked into the asterisk
binary in lieu of logger.c on certain platforms
if Asterisk was compiled in dev mode.

To fix this, we ensure the file has a unique
name without the extension. Most existing .xml
files have been named differently from any
.c files in the same directory or did not
pose this issue.

channels/pjsip/dialplan_functions.xml does not
pose this issue but is also being renamed
to adhere to this policy.

Resolves: #539
---
 .../pjsip/{dialplan_functions.xml => dialplan_functions_doc.xml}  | 0
 main/{logger.xml => logger_doc.xml}                               | 0
 2 files changed, 0 insertions(+), 0 deletions(-)
 rename channels/pjsip/{dialplan_functions.xml => dialplan_functions_doc.xml} (100%)
 rename main/{logger.xml => logger_doc.xml} (100%)

diff --git a/channels/pjsip/dialplan_functions.xml b/channels/pjsip/dialplan_functions_doc.xml
similarity index 100%
rename from channels/pjsip/dialplan_functions.xml
rename to channels/pjsip/dialplan_functions_doc.xml
diff --git a/main/logger.xml b/main/logger_doc.xml
similarity index 100%
rename from main/logger.xml
rename to main/logger_doc.xml
-- 
GitLab