1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2026-05-06 14:07:48 +00:00

tzselect: work around an old BusyBox awk bug

Patch by Patrick 'P. J.' McDermott in
<http://mm.icann.org/pipermail/tz/2013-October/020444.html>.
* tzselect.ksh: Replace awk -F options with FS assignments.
Before version 1.21.0, BusyBox awk didn't unescape the argument to
the -F option.  As a result, tzselect couldn't parse tables with
such versions of BusyBox awk.  See
<https://bugs.busybox.net/show_bug.cgi?id=5126> and
<http://git.busybox.net/busybox/commit?id=ea664dd>.
* NEWS: Document this.
This commit is contained in:
Paul Eggert
2013-10-06 02:24:36 -07:00
parent be06aa48db
commit 868ed00c10
2 changed files with 11 additions and 6 deletions

5
NEWS
View File

@@ -11,8 +11,9 @@ Unreleased, experimental changes
Changes affecting API
The 'tzselect' command no longer requires the 'select' command,
and should now work with /bin/sh on more platforms. (Thanks to
Patrick 'P. J.' McDermott for reporting the problem.)
and should now work with /bin/sh on more platforms. It also works
around a bug in BusyBox awk before version 1.21.0. (Thanks to
Patrick 'P. J.' McDermott.)
Changes affecting the build procedure