John Zaitseff
d486d0136d
Ignore generated file lib/getopt-cdefs.h
2022-08-02 21:19:26 +10:00
John Zaitseff
3f3f6157f0
Use -1 instead of EOF for an invalid file descriptor
...
The POSIX standards specify that the open() and openat() functions
technically return -1, not EOF, on failure -- even though most (perhaps
all) systems define EOF to be -1!
2022-08-02 21:06:18 +10:00
John Zaitseff
445cca0d5d
Clarify NEWS that two TOCTOU bugs were fixed, not one
2022-08-02 19:47:40 +10:00
John Zaitseff
db41a89630
Update line numbers in all PO files
2022-08-01 23:01:24 +10:00
John Zaitseff
30bfcd167a
Keep Coverity Scan happy
...
Coverity Scan (https://scan.coverity.com/projects/trader ) complains that
a high-impact defect is present in the scramble() function: "String not
null terminated" -- even though b64encode() does give a NUL-termininated
buffer.
2022-08-01 22:27:56 +10:00
John Zaitseff
e3d5d04774
Eliminate a second TOCTOU bug in xmkdir() itself
...
The theoretical odds of hitting this time-of-check / time-of-use bug are
extremely remote. But we do want to keep Coverity Scan happy, don't we?
2022-08-01 22:26:12 +10:00
John Zaitseff
89fdb5a65e
Eliminate a TOCTOU bug between data_directory() and xmkdir()
...
Checking the presence of the traditional data directory using stat()
leads to a time-of-check / time-of-use bug by the time it is possibly
created using xmkdir(). Use file descriptors and openat() to work around
this problem.
2022-08-01 22:23:06 +10:00
John Zaitseff
9f5c0c361e
Fix bug when the HOME environment variable is empty
2022-08-01 11:37:28 +10:00
John Zaitseff
9f65939586
Make home_directory() an internal function to utils.c
2022-08-01 11:27:09 +10:00
John Zaitseff
872cc0a561
Update ignored files for the latest version of Gnulib
2022-08-01 10:09:04 +10:00
John Zaitseff
651559c1f2
Update minimum version of Autoconf to allow C17 or C11 compilation
2022-08-01 10:01:41 +10:00
John Zaitseff
b7c4e64c3f
Update to the latest version of ax_compiler_vendor.m4
2022-08-01 08:52:37 +10:00
John Zaitseff
539a2ce502
Mention updated translations in NEWS
2022-08-01 07:47:53 +10:00
John Zaitseff
fb8a6d8d0c
Update English translations to use "objective" instead of "object"
2022-08-01 07:36:31 +10:00
John Zaitseff
9abc4bbecc
Merge branch po-translationproject: update multiple PO files
...
Note that "git merge" has erroneously decided to merge es.po in the
po-translationproject branch with en_US.po in the master branch.
2022-08-01 07:27:18 +10:00
John Zaitseff
988091db57
Update translations to the latest versions from the Translation Project
2022-08-01 05:36:27 +10:00
John Zaitseff
3a91661ee8
Update not-for-profit organisation name to The ZAP Group Australia
2022-08-01 04:59:32 +10:00
John Zaitseff
214bc97ace
Add the icon type for trader.appdata.xml.in
2022-08-01 04:50:14 +10:00
John Zaitseff
c08b74d3c3
Correct a spelling mistake in trader.6
2022-08-01 04:48:08 +10:00
John Zaitseff
1231c084b8
Update the copyright year to 2022
2022-08-01 04:46:15 +10:00
John Zaitseff
38ac01d0e0
Start preparing for version 7.17
2022-08-01 04:35:03 +10:00
John Zaitseff
68ff2713f1
Update de.po to the latest version from the Translation Project
2022-02-06 05:31:00 +11:00
John Zaitseff
9db207a097
Tweak the default reStructuredText interpreted text role in README
2021-12-14 06:20:04 +11:00
John Zaitseff
b6fffd6fb4
Update sr.po to the latest version from the Translation Project
2021-12-14 06:06:35 +11:00
John Zaitseff
ff8aa6dbe0
Update eo.po to the latest version from the Translation Project
2021-08-14 08:49:21 +10:00
John Zaitseff
95c22c7410
Update fr.po to the latest version from the Translation Project
2021-07-09 06:57:23 +10:00
John Zaitseff
538fcf56bb
Update translations to the latest versions from the Translation Project
2021-07-08 07:47:18 +10:00
John Zaitseff
33d69d9893
Update to Debhelper v13
2021-02-06 06:36:30 +11:00
John Zaitseff
78150f1400
Change build dependency to libncurses-dev
2021-01-19 21:51:37 +11:00
John Zaitseff
d377ee4018
Summarise changes to this version of the package
2021-01-19 19:44:31 +11:00
John Zaitseff
e2e58a6b91
Merge branch with-autogenerated into with-debian
2021-01-19 19:41:02 +11:00
John Zaitseff
58c0c1b115
Update all auto-generated files
...
These files have been created by running ./build-aux/bootstrap with
Gnulib as at commit 7ddc0c297211ac7a83a0a94feface10ba93c60f2 (with a date
stamp of Mon Jan 18 15:13:17 2021 +0100), Autoconf 2.69, Automake 1.16.3,
Gettext 0.21 and pkgconf 1.7.3.
2021-01-19 17:03:57 +11:00
John Zaitseff
f61eed8b17
Merge branch master into with-autogenerated
2021-01-19 16:59:29 +11:00
John Zaitseff
4f6258a1ee
Update POT creation date in all PO files
2021-01-19 16:44:45 +11:00
John Zaitseff
6a86e94187
Update the release date: today!
2021-01-19 16:41:40 +11:00
John Zaitseff
f118ad25a9
Document known bugs in NetBSD
2021-01-19 15:18:36 +11:00
John Zaitseff
f837f65444
Update INSTALL to reflect testing on Ubuntu 18.04 LTS
...
Ubuntu 18.04 LTS will be used to create AppImage binaries. Such binaries
will run under CentOS 7.x but not under CentOS 6.x (glibc 2.14 or newer
is required).
2021-01-14 22:26:27 +11:00
John Zaitseff
6561c3bede
Update line numbers in all PO files
2021-01-14 19:03:42 +11:00
John Zaitseff
a138ddcc52
Mention the updated German translation in NEWS
2021-01-14 19:01:56 +11:00
John Zaitseff
f417e01c00
Merge branch po-translationproject: update de.po
2021-01-14 18:52:15 +11:00
John Zaitseff
7258319b0f
Update de.po to the latest version from the Translation Project
2021-01-14 14:38:43 +11:00
John Zaitseff
2cc2dfffd5
Allow TEXTDOMAINDIR to specify the message catalog path
2021-01-14 13:06:31 +11:00
John Zaitseff
535f4cf965
Refactor locale initialisation into init_locale()
2021-01-14 12:28:02 +11:00
John Zaitseff
aa0e539540
Prevent the AppImage internal name from leaking out
2021-01-14 12:07:01 +11:00
John Zaitseff
82d460fe31
Rename init_locale() to init_locale_vars()
2021-01-14 12:04:48 +11:00
John Zaitseff
c525bc266f
Refactor preliminary initialisation code into init_program_prelim()
2021-01-14 12:04:03 +11:00
John Zaitseff
f1501a4004
Update all PO files with translations of the new strings
2021-01-14 09:11:46 +11:00
John Zaitseff
5130719028
Add an AppStream-conforming metadata file
2021-01-14 09:11:08 +11:00
John Zaitseff
6ee2a6a8f1
Remove the mention of NetBSD's pkg_add
...
The ./configure command line for NetBSD does not work with older versions
of that operating system, so remove the mention of pkg_add on such
systems.
2021-01-14 08:06:47 +11:00
John Zaitseff
8e23a7fd3b
Apple's operating system has been called macOS since 2016
2021-01-14 08:05:34 +11:00