Compare commits

...

2 Commits

Author SHA1 Message Date
Asterisk Development Team
4342e2a9a2 Update for 23.2.1 2026-01-29 14:38:26 +00:00
Sean Bright
51403b2981 asterisk.c: Use C.UTF-8 locale instead of relying on user's environment.
Resolves: #1739
2026-01-29 07:04:29 -07:00
8 changed files with 109 additions and 10 deletions

View File

@@ -1 +1 @@
23.2.0
23.2.1

View File

@@ -1 +1 @@
ChangeLogs/ChangeLog-23.2.0.html
ChangeLogs/ChangeLog-23.2.1.html

View File

@@ -1 +1 @@
ChangeLogs/ChangeLog-23.2.0.md
ChangeLogs/ChangeLog-23.2.1.md

View File

@@ -0,0 +1,44 @@
<html><head><title>ChangeLog for asterisk-23.2.1</title></head><body>
<h2>Change Log for Release asterisk-23.2.1</h2>
<h3>Links:</h3>
<ul>
<li><a href="https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-23.2.1.html">Full ChangeLog</a> </li>
<li><a href="https://github.com/asterisk/asterisk/compare/23.2.0...23.2.1">GitHub Diff</a> </li>
<li><a href="https://downloads.asterisk.org/pub/telephony/asterisk/asterisk-23.2.1.tar.gz">Tarball</a> </li>
<li><a href="https://downloads.asterisk.org/pub/telephony/asterisk">Downloads</a> </li>
</ul>
<h3>Summary:</h3>
<ul>
<li>Commits: 1</li>
<li>Commit Authors: 1</li>
<li>Issues Resolved: 1</li>
<li>Security Advisories Resolved: 0</li>
</ul>
<h3>User Notes:</h3>
<h3>Upgrade Notes:</h3>
<h3>Developer Notes:</h3>
<h3>Commit Authors:</h3>
<ul>
<li>Sean Bright: (1)</li>
</ul>
<h2>Issue and Commit Detail:</h2>
<h3>Closed Issues:</h3>
<ul>
<li>1739: [bug]: Regression in 23.2.0 with regard to parsing fractional numbers when system locale is non-standard</li>
</ul>
<h3>Commits By Author:</h3>
<ul>
<li>
<h4>Sean Bright (1):</h4>
</li>
</ul>
<h3>Commit List:</h3>
<ul>
<li>asterisk.c: Use C.UTF-8 locale instead of relying on user's environment.</li>
</ul>
<h3>Commit Details:</h3>
<h4>asterisk.c: Use C.UTF-8 locale instead of relying on user's environment.</h4>
<p>Author: Sean Bright
Date: 2026-01-23</p>
<p>Resolves: #1739</p>
</body></html>

View File

@@ -0,0 +1,52 @@
## Change Log for Release asterisk-23.2.1
### Links:
- [Full ChangeLog](https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-23.2.1.html)
- [GitHub Diff](https://github.com/asterisk/asterisk/compare/23.2.0...23.2.1)
- [Tarball](https://downloads.asterisk.org/pub/telephony/asterisk/asterisk-23.2.1.tar.gz)
- [Downloads](https://downloads.asterisk.org/pub/telephony/asterisk)
### Summary:
- Commits: 1
- Commit Authors: 1
- Issues Resolved: 1
- Security Advisories Resolved: 0
### User Notes:
### Upgrade Notes:
### Developer Notes:
### Commit Authors:
- Sean Bright: (1)
## Issue and Commit Detail:
### Closed Issues:
- 1739: [bug]: Regression in 23.2.0 with regard to parsing fractional numbers when system locale is non-standard
### Commits By Author:
- #### Sean Bright (1):
### Commit List:
- asterisk.c: Use C.UTF-8 locale instead of relying on user's environment.
### Commit Details:
#### asterisk.c: Use C.UTF-8 locale instead of relying on user's environment.
Author: Sean Bright
Date: 2026-01-23
Resolves: #1739

View File

@@ -1,4 +1,4 @@
<html><head><title>Readme for asterisk-23.2.0</title></head><body>
<html><head><title>Readme for asterisk-23.2.1</title></head><body>
<h1>The Asterisk(R) Open Source PBX</h1>
<pre><code>By Mark Spencer &lt;markster@digium.com&gt; and the Asterisk.org developer community.
Copyright (C) 2001-2025 Sangoma Technologies Corporation and other copyright holders.
@@ -37,7 +37,7 @@ hardware.</p>
<p>If you are updating from a previous version of Asterisk, make sure you
read the Change Logs.</p>
<!-- CHANGELOGS (the URL will change based on the location of this README) -->
<p><a href="ChangeLogs/ChangeLog-23.2.0.html">Change Logs</a></p>
<p><a href="ChangeLogs/ChangeLog-23.2.1.html">Change Logs</a></p>
<!-- END-CHANGELOGS -->
<h3>NEW INSTALLATIONS</h3>

View File

@@ -55,7 +55,7 @@ If you are updating from a previous version of Asterisk, make sure you
read the Change Logs.
<!-- CHANGELOGS (the URL will change based on the location of this README) -->
[Change Logs](ChangeLogs/ChangeLog-23.2.0.html)
[Change Logs](ChangeLogs/ChangeLog-23.2.1.html)
<!-- END-CHANGELOGS -->
### NEW INSTALLATIONS

View File

@@ -3629,10 +3629,13 @@ int main(int argc, char *argv[])
struct rlimit l;
static const char *getopt_settings = "BC:cde:FfG:ghIiL:M:mnpqRrs:TtU:VvWXx:";
/* Bring in locale settings from the environment. This is needed
for libedit, as the LC_CTYPE category of the locale impacts the
the multi-byte character functions provided by libc */
setlocale(LC_ALL, "");
/* Try to explicitly set a UTF-8 locale. This is needed for
libedit, as the LC_CTYPE category of the locale impacts the the
multi-byte character functions provided by libc. If it fails,
so be it. */
if (!setlocale(LC_ALL, "C.UTF-8")) {
ast_debug(1, "Tried to set locale to C.UTF-8 but it failed\n");
}
/* Remember original args for restart */
if (argc > ARRAY_LEN(_argv) - 1) {