Newer
Older
Release 1.46.
+ commit ea031873aa9642831017937fd33e9009d514ee07
2022-09-21 Damien Goutte-Gattat <dgouttegattat@incenp.org>
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
m4: Fix detection of gpgrt's libdir.
+ commit 628cb1a786bd5d420be17c2e9ffd407f4fbf517e
* src/gpg-error.m4 (GPGRT_CONFIG): Handle the case where none of the
system lib directories contain a pkgconfig subdirectory.
2022-09-19 Damien Goutte-Gattat via Gnupg-devel <gnupg-devel@gnupg.org>
build: Fix installation of gpg-error-config.1.
+ commit b5043421d2b3ff5999e88808737ff400bf15b0ee
* doc/Makefile.am (myman_pages): Rename man page to gpg-error-config.1
and only install if gpg-error-config itself is installed.
2022-09-15 NIIBE Yutaka <gniibe@fsij.org>
yat2m: Use __noreturn__ attribute.
+ commit a86ad1cbb6bd83cb30ab87f5ad1c70077288a8da
* doc/yat2m.c (ATTR_NR_PRINTF): Use __noreturn__.
Remove extra semicolons.
+ commit 6f103890e9728072e1c9c1e0a1d7f87220d8eecc
* src/gpgrt-int.h: Remove extra.
* src/visibility.h: Likewise.
2022-09-08 NIIBE Yutaka <gniibe@fsij.org>
Silence compiler warnings.
+ commit 10dc853291a1786f061e01cdcf477be0c31441b1
* src/argparse.c (show_version): It's no args.
(_gpgrt_log_get_fd, _gpgrt_log_get_stream): Likewise.
2022-08-25 NIIBE Yutaka <gniibe@fsij.org>
gpgrt-config: Strip system paths for --cflags and --libs.
+ commit 4615816f71e91f4c3bb8b0e4122dd153ec7c1927
* src/gpgrt-config.in: Strip -I and -L with system paths.
2022-08-17 Ingo Klöcker <dev@ingo-kloecker.de>
build: Omit -L<libdir> for standard paths on some 64-bit systems.
+ commit fcb19dbfd49338e5c282e2853d71d66a0594d3c1
* configure.ac (GPG_ERROR_CONFIG_LIBS): Handle the case $libdir =
'${exec_prefix}/lib64'.
2022-08-15 NIIBE Yutaka <gniibe@fsij.org>
build: Only install gpg-error-config when enabled.
+ commit 0b47de9c719b0ed0da0791f0525de073737bde5a
* configure.ac (INSTALL_GPG_ERROR_CONFIG): New.
* src/Makefile.am (bin_SCRIPTS, noinst_SCRIPTS): Conditionalize.
2022-08-02 Werner Koch <wk@gnupg.org>
w32: Convert REG_DWORD values to a string.
+ commit 745d333cf7b5b6fee62e3b26c8a2ccc004e017da
* src/w32-reg.c (_gpgrt_w32_reg_query_string): Handle REG_DWORD
2022-07-28 NIIBE Yutaka <gniibe@fsij.org>
w32: Fix for bidirectional pipe.
+ commit 25701f105b947500f920eb5a13e328f8f7843d38
* src/estream.c (func_w32_seek): Return an error with ESPIPE, when
it's pipe.
2022-07-22 NIIBE Yutaka <gniibe@fsij.org>
doc: Update gpgrt.texi for old gpg-error-config script.
+ commit 1e7d0d3ef627f3cdee70b8409f04d7e2ecf4fdd6
* doc/gpgrt.texi: Address pkg-config. Manual entry is for
gpg-error-config. gpgrt-config is an internal command for
gpg-error.m4.
2022-07-19 NIIBE Yutaka <gniibe@fsij.org>
build: Fix configure script.
+ commit 64bcee3c467d837694d225e15981ea76ebf7e7b9
* configure.ac (AC_HEADER_TIME): Remove obsolete AC macro.
(AC_CHECK_SIZEOF(time_t)): Remove unneeded check.
build: Update config.guess, config.sub, and config.rpath.
+ commit b1b808f30f83e92e7d30a9336588c15553699a7b
* build-aux/config.guess: Update from upstream.
* build-aux/config.sub: Ditto.
* build-aux/config.rpath: Update from gettext 0.21.
2022-06-28 NIIBE Yutaka <gniibe@fsij.org>
Remove Windows CE support.
+ commit 14ead267268f8ed14bf1ab49189646a95654b706
* contrib/*: Remove.
* Makefile.am: Remove contrib.
* autogen.sh: Remove Windows CE support.
* configure.ac (have_w32ce_system): Remove.
* src/Makefile.am [HAVE_W32CE_SYSTEM] (extra_cppflags): Remove.
(gpg_extra_headers): Remove.
(EXTRA_DIST): Remove mkw32errmap.c and w32ce-add.h
(BUILT_SOURCES): Remove mkw32errmap.map.c.
(tmp_files): Remove mkw32errmap.tab.h mkw32errmap.map.c
(CLEANFILES): Likewise.
* src/estream-printf.c [HAVE_W32CE_SYSTEM]: Remove.
* src/estream.c [HAVE_W32CE_SYSTEM]: Remove.
* src/gpg-error.def.in [HAVE_W32CE_SYSTEM]: Remove.
* src/gpgrt-int.h: Fix comment.
* src/init.c [HAVE_W32CE_SYSTEM]: Remove.
* src/init.h [HAVE_W32CE_SYSTEM]: Remove.
* src/mkheader.c: Remove Windows CE support.
* src/mkw32errmap.c, src/w32ce-add.h: Remove.
* src/spawn-posix.c [HAVE_W32CE_SYSTEM]: Remove.
* src/spawn-w32.c [HAVE_W32CE_SYSTEM]: Remove.
* src/sysutils.c [HAVE_W32CE_SYSTEM]: Remove.
* src/w32-estream.c [HAVE_W32CE_SYSTEM]: Remove.
* src/w32-reg.c [HAVE_W32CE_SYSTEM]: Remove.
* tests/Makefile.am [HAVE_W32CE_SYSTEM]: Remove.
Typo fix in autogen.sh.
+ commit 084d135f44a027e86f1005c893935464ffbc4b82
* autogen.sh: Fix typo.
Release 1.45.
+ commit dbac537e5e865fb6f3aa8596d213aa8c47a9dea1
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
2022-04-07 NIIBE Yutaka <gniibe@fsij.org>
logging: Fix the previous commit.
+ commit 74e6afcc36b28b0acc49fbe25f29b42d1a223caf
* src/logging.c (set_file_fd): Open with append mode.
logging: Fix gpgrt_log_get_fd for file.
+ commit 5ef201c10b1cc870ae06e34ad02bb5da0a763bfe
* src/logging.c (fun_writer): Only use this for socket writing.
(set_file_fd): Use es_stderr when "-".
Use the stream by _gpgrt_fdopen when FD is specified.
Use the stream by _gpgrt_fopen when name is not socket.
Only use the stream by _gpgrt_fopencookie for socket.
[HAVE_W32CE_SYSTEM]: Remove W32CE support.
2022-04-04 NIIBE Yutaka <gniibe@fsij.org>
w32: Add ES_SYSHD_SOCK support for gpgrt_sysopen.
+ commit 018ea46a30cf4eda70070ba42c4fee642fb2fd8a
* src/mkheader.c (write_special): Support @SOCKET_t@ substitution.
* src/gpgrt-int.h (gpgrt_stream_backend_kind_t): Add BACKEND_SOCK.
* src/gpg-error.h.in (struct _gpgrt_syshd): Use @SOCKET_t@.
* src/estream.c [HAVE_W32_SYSTEM] (estream_cookie_sock_t): New.
[HAVE_W32_SYSTEM] (func_sock_create, func_sock_read): New.
[HAVE_W32_SYSTEM] (func_sock_write, func_sock_seek): New.
[HAVE_W32_SYSTEM] (func_sock_destroy, func_sock_ioctl): New.
[HAVE_W32_SYSTEM] (estream_functions_sock, do_sockopen): New.
[HAVE_W32_SYSTEM] (do_sysopen): Call do_sockopen.
2022-03-29 NIIBE Yutaka <gniibe@fsij.org>
w32: Fix handle_to_pid for MinGW-w64.
+ commit 660db9c9a90f377fc14a5d659d974d68d782b2d1
* src/spawn-w32.c (handle_to_pid): Use pid_t to coerce the type.
2022-03-28 NIIBE Yutaka <gniibe@fsij.org>
core: Fix support of posix-lock for FreeBSD.
+ commit 6e17e70bb7eea1f6ed4c08f795ea65a09f89d38f
* src/posix-lock.c [__FreeBSD__] (use_pthread_p): Use
pthread_key_create to determine if it's linked to lpthread or not.
yat2m: Only emit a message of the page with --verbose option.
+ commit 70489b4f75c0afcb1b5c65e579b231d8f657b8c6
* doc/yat2m.c (finish_page): Conditionalize the output with VERBOSE.
2022-03-25 NIIBE Yutaka <gniibe@fsij.org>
w32: Fix for MinGW which doesn't define EOPNOTSUPP.
+ commit 8e67e8c3f21c798ff1f4862b0e7228825e6dd4f6
* src/w32-estream.c: Add EOPNOTSUPP.
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
w32: Support file names longer than MAX_PATH.
+ commit 32dad4e4135f0bdc436ed684da753d4b0cdb0ea1
* src/sysutils.c (any8bitchar): Remove.
(_gpgrt_fname_to_wchar): New.
(_gpgrt_mkdir): Use instead of plain utf8 conversion.
(_gpgrt_access): Reimplement using GetFileAttributesW so that long
files names are supported.
* src/estream.c (_gpgrt_w32_get_last_err_code): New.
(func_file_create_w32): New.
(_gpgrt_fopen): Handle the "sysopen" mode flag. Support mapping of
/dev/null.
(_gpgrt_freopen): Support mapping of /dev/null.
* src/w32-gettext.c (load_domain): Allow long file names.
* src/visibility.c (gpgrt_free_wchar): Make function public.
(gpgrt_fname_to_wchar): Ditto.
(gpgrt_utf8_to_wchar): Ditto.
(gpgrt_wchar_to_utf8): Ditto.
* src/w32-add.h (gpgrt_free_wchar): New prototype.
(gpgrt_fname_to_wchar): Ditto.
(gpgrt_utf8_to_wchar): Ditto.
(gpgrt_wchar_to_utf8): Ditto.
* src/gpg-error.def.in: Add them here too.
2022-02-17 NIIBE Yutaka <gniibe@fsij.org>
gpg-error.m4: Fix use with older gpgrt-config (< 1.33).
+ commit 666d64d2bc6539d0ca03dea69abc5a8ccdf37be5
* src/gpg-error.m4: When gpgrt-config doesn't work expected for
gpg-error.pc, unset GPGRT_CONFIG.
2022-02-01 NIIBE Yutaka <gniibe@fsij.org>
build,tests: Fix detection of have_lock_optimization.
+ commit 433aba9e778ebe9500c29ae1ae34999d48e98a19
* configure.ac: Lock optimization (without sys/single_threaded.h) is
only known to work on GNU system, using weak symbol.
2022-01-27 Werner Koch <wk@gnupg.org>
Release 1.44.
+ commit 54eff9cb9ac86809f3217179eb1029058d4a7936
* configure.ac: Bump LT version to C32/A32/R2.
2022-01-27 Emir SARI <emir_sari@icloud.com>
Add Turkish translations.
+ commit 663b91fe91af0bb290fe18092896a8917bf51e14
2022-01-25 Werner Koch <wk@gnupg.org>
core: Fix returning of option attributes for options with args.
+ commit 5ab088aba9f05b480c311e94d45a88728ac9320b
* src/argparse.c (_gpgrt_argparse): Set attributes info flags
2022-01-18 Daniel Kahn Gillmor <dkg@fifthhorseman.net>
build: Detect more flexible musl variants of GNU.
+ commit 0150919b6a8244be1055d01ad21d6fa47788ab0e
* configure.ac: expand *-*-linux-musl to *-*-linux-musl*.
2022-01-18 NIIBE Yutaka <gniibe@fsij.org>
po,w32: Directly run msgfmt at install-data-hook.
+ commit b26220f92fa668e185dbf2bcc5006c6e74b20073
* Makefile.am (EXTRA_DIST): Remove potomo.
[HAVE_W32_SYSTEM] (install-data-hook): Run msgfmt.
po: Update files from gettext 0.21 to match m4/po.m4.
+ commit b37c68f28a921d1c03507469f4af53e012ef7679
* po/Makefile.in.in: Update.
* po/Makevars: Update.
* po/Rules-quot: Update.
* po/insert-header.sin: Update.
* po/remove-potcdate.sin: Update.
2021-12-22 NIIBE Yutaka <gniibe@fsij.org>
build: Recover and update *.m4.
+ commit 973dbdbfc90136798cfa4001166a40b904fdad70
* m4/lib-ld.m4, m4/lib-link.m4, m4/lib-prefix.m4: Copied
from gnulib.
* m4/po.m4, m4/nls.m4, m4/progtest.m4: Likewise.
* m4/gettext.m4, m4/iconv.m4: Update from gnulib.
* m4/host-cpu-c-abi.m4: New from gnulib.
build: Remove obsolete m4 files.
+ commit 980e4410bb0a372a7bcce5f454915e6565a56b96
* m4/glibc2.m4, m4/glibc21.m4, m4/intdiv0.m4, m4/intmax.m4: Remove.
* m4/inttypes-h.m4, m4/inttypes-pri.m4, m4/inttypes.m4: Remove.
* m4/inttypes_h.m4, m4/isc-posix.m4, m4/lcmessage.m4: Remove.
* m4/lib-ld.m4, m4/lib-link.m4, m4/lib-prefix.m4: Remove.
* m4/longdouble.m4, m4/longlong.m4, m4/nls.m4, m4/po.m4: Remove.
* m4/printf-posix.m4, m4/progtest.m4, m4/signed.m4: Remove.
* m4/size_max.m4, m4/stdint_h.m4, m4/uintmax_t.m4: Remove.
* m4/ulonglong.m4, m4/visibility.m4, m4/wchar_t.m4: Remove.
* m4/wint_t.m4, m4/xsize.m4: Remove.
2021-12-17 NIIBE Yutaka <gniibe@fsij.org>
tests: Fix gpg-error-config-test for PKG_CONFIG_LIBDIR.
+ commit 8d2bd9a0d4bba9b820bc03a9275441c39182d5b7
* src/gpg-error-config-test.sh.in: Clear PKG_CONFIG_LIBDIR.
2021-12-15 NIIBE Yutaka <gniibe@fsij.org>
build: Update configure.ac for newer autoconf.
+ commit f5e043ad271f431f2c35fc6b22fc51b448507b01
* configure.ac (AC_PREREQ): Require 2.69 or later.
(AC_CONFIG_HEADERS): Replace AC_CONFIG_HEADER.
(AC_HEADER_STDC): Remove.
* m4/codeset.m4: Update from gnulib.
2021-12-13 NIIBE Yutaka <gniibe@fsij.org>
build: Fix have_lock_optimization code for 'guessing yes'.
+ commit f15c06951bb91eb0a4ab54f6707b6e21448945f9
* configure.ac: Support 'guessing yes' for gl_cv_have_weak.
build: Detect a system with musl, as a variant of GNU System.
+ commit e17cf023d894acc3932505f66fbd9c31ce56793f
* configure.ac: Add *-*-linux-musl.
2021-12-07 Jakub Jelen <jjelen@redhat.com>
configure: Add missing check for logging.
+ commit 7fac8e02d80d139f43fc5fd179618ab769512124
* configure.ac: Add missing check for inet_pton to avoid using inet_addr
in modern systems.
2021-11-29 NIIBE Yutaka <gniibe@fsij.org>
tests,w32: Use CreatePipe and es_sysopen.
+ commit 858bcd4343ac40566825cfa861ee60bcc54cb6c8
* tests/t-poll.c (create_pipe): Use CreatePipe.
2021-11-25 NIIBE Yutaka <gniibe@fsij.org>
build,tests: Run t-lock-single-posix only on platforms supported.
+ commit 50e0f32b19356fd7c64c799192379ff2204cd8a3
* configure.ac (HAVE_LOCK_OPTIMIZATION): New.
* tests/Makefile.am: Use HAVE_LOCK_OPTIMIZATION for
t-lock-single-posix.
2021-11-19 NIIBE Yutaka <gniibe@fsij.org>
build: Fix dependency to gpg-error-config-test.sh.
+ commit 0fcfca8e9ffa25836f391df75f5b3bb1b7dc1a69
* src/Makefile.am (gpg-error-config): It depends on configure
generated gpg-error-config-test.sh.
2021-11-12 NIIBE Yutaka <gniibe@fsij.org>
build: Fix for configure generated files.
+ commit fd83c3e29744c8d7829df3de8c10f9c68f11e429
* src/Makefile.am (bin_SCRIPTS): Add gpgrt-config.
(EXTRA_DIST): Add gpgrt-config.in and gpg-error-config-test.sh.in.
(CLEANFILES): Add configure generated files.
configure: Escape includedir/libdir to defer interpretation of vars.
+ commit 1e5b17f4284ea2904c65d08097735a1a4a8879a1
configure.ac: Escape includedir for GPG_ERROR_CONFIG_CFLAGS.
Escape libdir for GPG_ERROR_CONFIG_LIBS.
2021-11-04 NIIBE Yutaka <gniibe@fsij.org>
estream: Only include sys/select.h when needed.
+ commit 61843dace32f12475b1ade5423deaa0421cbbc0b
* src/estream.c: The select function is only used when poll is not
available. So, let it include the header file only when needed.
Release 1.43.
+ commit d7fb04832a71a2c1509d45027798f184ca274f8d
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
po: Update Russian translation.
+ commit 983a1b491ea6dfa7bb1868a6ac41fb9222bbe301
2021-11-03 Werner Koch <wk@gnupg.org>
argparse: Add more system variables.
+ commit 62755bcd302eca755d52b80b62dc17ae0e683b75
* src/argparse.c (get_var): Fix "_windows", add "_gpgrtversion" and
"strusageN".
(handle_meta_if): Avoid evaluating inactive branches.
* tests/t-argparse.conf: Add a few other outputs.
2021-10-31 Werner Koch <wk@gnupg.org>
argparse: Add support to read values from the Windows Registry.
+ commit b1790f4cc71f14422255bbfba78e91f037e035dd
* src/argparse.c (struct variable_s): New.
(struct _gpgrt_argparse_internal_s): New fields expand, if_cond,
if_active and vartbl.
(deinitialize): Free vartbl.
(initialize): Clear new vars.
(get_var): New.
(substitute_vars): New.
(set_variable): New.
(handle_meta_if): New.
(handle_meta_let): New.
(handle_meta_getenv): New.
(handle_meta_echo): Re-implement in terms of variabale substitution.
(handle_meta_expand): New.
(handle_metacmd): Add new meta commands.
(_gpgrt_argparse): Expand values if enabled.
(_gpgrt_argparse): Take care of conditions.
(_gpgrt_argparser): Reset some state at the end of a file.
* tests/etc/t-argparse.conf: Adjust for changed system variables.
* tests/t-argparse.c (my_strusage): Add a value for a version test.
(main): Add new option "street".
* tests/t-argparse.conf: A couple if additions for the new conditions.
2021-10-22 Werner Koch <wk@gnupg.org>
core: new internal function _gpgrt_w32_reg_get_string.
+ commit 2a32501a561a5d70069bcb6e7e87fb949370520e
* src/w32-reg.c (_gpgrt_w32_reg_query_string): Allow abbreviated root
names.
(_gpgrt_w32_reg_get_string): New.
2021-09-27 NIIBE Yutaka <gniibe@fsij.org>
libtool: Link without -flat_namespace for macOS.
+ commit a3987e44970505a5540f9702c1e41292c22b69cf
* m4/libtool.m4: Not setting 10.0 to MACOSX_DEPLOYMENT_TARGET when not
defined. Only specify -flat_namespace to linker for specific
(older) versions and hosts.
2021-09-10 NIIBE Yutaka <gniibe@fsij.org>
gpgrt-config: Fix behavior when PKG_CONFIG_LIBDIR="".
+ commit 6b08dd09864e7fbb424296ad490f9fe65c9bc247
* src/gpgrt-config.in: Correctly detect the case.
2021-08-26 NIIBE Yutaka <gniibe@fsij.org>
tests: Add a test for locking when single thread.
+ commit 2b476b3ebc1d13d681594c15505844766c0fbc4b
* tests/Makefile.am (TESTS): Add t-lock-single-posix.
* tests/t-lock-single-posix.c: New.
2021-08-06 NIIBE Yutaka <gniibe@fsij.org>
posix-lock: Support GNU C library 2.34 or later.
+ commit 67595e8244ed67910f7372873cdbf674c2e85403
* configure.ac: Add check for sys/single_threaded.h.
* src/posix-lock.c [USE_POSIX_THREADS_FROM_LIBC]: Use
__libc_single_threaded to detect if it's single threaded.
m4: Merge our local change for threadlib.m4.
+ commit 8538a83fd1b5e54d7dbe6dc9042cc74942e38e51
* m4/threadlib.m4: Add THREADLIB_CPPFLAGS support.
m4: Update m4/threadlib.m4 from gnulib.
+ commit 7ad1ff9673e4589880170b9f84df93510b044814
* m4/threadlib.m4: Update.
2021-08-05 NIIBE Yutaka <gniibe@fsij.org>
build: Simplify checking headers.
+ commit f8fe24a792321483baa7415e06640fb5077fcb13
* configure.ac (AC_HEADER_STDC): Remove stdlib.h.
core: Minor clean up.
+ commit b82b0d7a8d8f69aec928a2c604c1260b34a08449
* src/stringutils.c: Remove inclusion of pwd.h.
2021-06-21 NIIBE Yutaka <gniibe@fsij.org>
build: Fix --disable-threads.
+ commit 220a427b4f997ef6af1b2d4e82ef1dc96e0cd6ff
* src/gen-lock-obj.sh: Fix generating '}}}'.
2021-06-08 NIIBE Yutaka <gniibe@fsij.org>
core: Avoid truncation of error message in the middle of a character.
+ commit 6d19a40a8a23d9aa5d61ace247a5fea1bd103995
* configure.ac (AM_LANGINFO_CODESET): Add.
* src/strerror.c (_gpg_strerror_r): Check the boundary of character.
2021-05-21 NIIBE Yutaka <gniibe@fsij.org>
build: _DARWIN_C_SOURCE should be 1.
+ commit f9b50dafc5d3cc9d463be17b1d9e66817d4cb41c
* configure.ac (*-apple-darwin*): Set _DARWIN_C_SOURCE 1.
2021-05-20 Werner Koch <wk@gnupg.org>
core: Make gpgrt_free robust against legacy free implementations.
+ commit 448bf7b01cade87f45fb39f455f37a6aadeeceda
* src/init.c (_gpgrt_free): Shortcut NULL and save ERRNO.
2021-04-12 Jakub Jelen <jjelen@redhat.com>
build,tests: Fix leaks of memory or file pointer.
+ commit ad062b0a5b7d598081405ecfb71b51540281a1b7
* src/mkheader.c (parse_config_h): Close FP.
* tests/t-b64.c (test_b64enc_string): Free STATE.
(test_b64dec_string): Free BUFFER.
* tests/t-syserror.c (main): Close FP.
2021-04-08 NIIBE Yutaka <gniibe@fsij.org>
core: Fix gpgrt_wait_processes, by skipping invalid PID.
+ commit 956c40f106ead6d0191bc183805021e70c15e760
* src/spawn-posix.c (_gpgrt_wait_processes): Skip invalid PID.
2021-04-07 NIIBE Yutaka <gniibe@fsij.org>
build: Fix gpgrt-config for handling 'Requires' field.
+ commit 89a353f418f5e879ab5564ec0767a6cbdb19d51c
* src/gpgrt-config.in (get_attr_l): Fix thinko for word split.
2021-03-31 NIIBE Yutaka <gniibe@fsij.org>
m4: Fix previous commit.
+ commit 8536f82194ec21635cd017d7e0bd382106e196c6
m4: Support cross-compiling better.
+ commit 9b9c5dfa1020ce5a5a5e4954c58112d2707ec578
* src/gpg-error.m4 (GPGRT_CONFIG): Prefer the one under $prefix.
(sed expression): Better compatibility to POSIX sed.
2021-03-26 David Michael <fedora.dm0@gmail.com>
build: Fix generation of lock-obj-pub.native.h for cross build.
+ commit 33593864cd54143db594c4237bba41e14179061c
* src/gen-lock-obj.sh: Capture echo output with quotes.
Release 1.42.
+ commit 303062bf9a383de67227ff942c5482f3a87c71ed
core: Add GPG_ERR_SOURCE_TPM2D.
+ commit 200bf2ed9d610219cc0b12a91dedb3bfd52d36b7
* src/err-sources.h.in (GPG_ERR_SOURCE_TPM2D): New.
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
2021-03-05 Werner Koch <wk@gnupg.org>
w32: Allow Unicode paths for the gettext domain.
+ commit 618ce381f9d70f3a94e87f58f667a6138411018e
* src/w32-gettext.c: Remove remaining WindowsCE support
(load_domain): Use CreateFileW.
2021-03-04 Werner Koch <wk@gnupg.org>
w32: Minor cleanup of w32-gettext.
+ commit 3bf1de7b72be8e1d9fa78eb94730772d9cf61c44
* src/w32-gettext.c: Include gpgrt.h instead gpg-error.h.
(utf8_to_wchar): Use underscored function.
(_gpg_w32_textdomain): Ditto.
2021-02-18 NIIBE Yutaka <gniibe@fsij.org>
build: Support --disable-threads by gen-lock-obj.sh.
+ commit 1fb90a7da186ee2ee098a666f6f3a35bb1720e59
* configure.ac: Supply --disable-threads to gen-lock-obj.sh.
Tighten the condition of using gen-lock-obj.sh for GNU/Linux.
* src/gen-lock-obj.sh: Support --disable-threads.
2021-02-16 NIIBE Yutaka <gniibe@fsij.org>
build: Fix gpgrt-config.
+ commit ed3cd20de8d3eab92dd8fff02bcc214c55d08398
* src/gpgrt-config.in: Remove delimiter variable.
build: More fix for determining libdir for gpgrt-config.
+ commit 28a21addc2e30b0756cdc6774c79f69070df8829
* src/gpg-error.m4: Use CC -print-search-dirs for better support of
GNU style cross prefix.
2021-02-15 NIIBE Yutaka <gniibe@fsij.org>
build: Fix the previous change.
+ commit d7fd25bbfb83cd445bc81aa695b2c6127c22fa59
* src/gpg-error.m4: Fix test condition for GPGRT_CONFIG.
Fix behaviour when there is no GPG_ERROR_CONFIG.
2021-02-12 NIIBE Yutaka <gniibe@fsij.org>
build: Improve how to determine $libdir for gpgrt-config.
+ commit 3cabbad4eec0e5bc6bdaa9f8626578934138adee
* src/gpg-error.m4: Fix $gpgrt_libdir handling.
2021-02-09 NIIBE Yutaka <gniibe@fsij.org>
Support cross-compiling on more platforms.
+ commit 99ae862a96a569724f49a604ebb7d3f6d2c2d374
* src/gen-lock-obj.sh (ECHO_C, ECHO_N): Portability fix.
2020-12-21 Werner Koch <wk@gnupg.org>
Release 1.41.
+ commit 98032624ae89a67ee6fe3b1db5d95032e681d163
core: Yet another fix to the ignore meta command.
+ commit 7021b58b0f2d95b94a2bac43e15ec97d89706b7f
* src/argparse.c (_gpgrt_argparse): Entirely skip ignored sysconf
commands. Fix state transitions in the ignore case.
Release 1.40.
+ commit c1f4ed561e9d214be9fdc3005134b9d0ed87554f
* configure.ac: Bump LT version to C31/A31/R0.
w32: Allow Unicode for internal getusername function.
+ commit 007cfe8a0ca4c03412f031878d6ce232612a90d8
* src/sysutils.c (_gpgrt_getusername) [W32]: Use GetUserNameW.
2020-12-18 Werner Koch <wk@gnupg.org>
core: Fix the "ignore" meta command of the argparser.
+ commit 4b09c8c2023d52b97be6069c20897ebfb25f9bca
* src/argparse.c (_gpgrt_argparse): Factor some code out to ...
(prepare_arg_return): new.
(_gpgrt_argparse): No missing arg error in ignore sections.
2020-12-07 NIIBE Yutaka <gniibe@fsij.org>
John Ericson
build: Use AC_CHECK_TOOL to detect objdump for cross build.
+ commit 9ee011259f819a3cf50fe7019fa4366dbc437e0e
* configure.ac (CROSS_HOST_OBJDUMP): Remove, but use AC_CHECK_TOOL.
2020-11-17 NIIBE Yutaka <gniibe@fsij.org>
m4: Update with newer autoconf constructs.
+ commit 8047ca99858a7ee812ef11ed3bd2868e920ac1b7
* src/gpg-error.m4: Replace AC_HELP_STRING to AS_HELP_STRING.
build: Update to new autoconf constructs.
+ commit 41d753e21eaae3e4332e841de2f40e7055f2a68c
* configure.ac Replace AC_GNU_SOURCE to Use AC_USE_SYSTEM_EXTENSIONS.
Replace AC_HELP_STRING to AS_HELP_STRING.
* m4/estream.m4: Replace AC_TRY_LINK to AC_LINK_IFELSE.
* m4/gnupg-misc.m4: Replace AC_TRY_COMPILE to AC_COMPILE_IFELSE.
* m4/libtool.m4: Use AC_LANG_PUSH/AC_LANG_POP instead of
AC_LANG_SAVE/AC_LANG_RESTORE.
* m4/readline.m4: Replace AC_HELP_STRING to AS_HELP_STRING.
Fix quote for _combo.
* m4/threadlib.m4: Replace AC_HELP_STRING to AS_HELP_STRING.
2020-10-19 Werner Koch <wk@gnupg.org>
New public function gpgrt_access.
+ commit 4764c5a3a4d704b3b42bafc5eba3996579030703
* src/gpg-error.h.in (gpgrt_access): New.
* src/gpg-error.vers. src/gpg-error.def.in: Add new function.
* src/sysutils.c (any8bitchar): New.
(_gpgrt_access): New.
* src/visibility.c (gpgrt_access): New.
* src/spawn-w32.c (_gpgrt_spawn_process_detached): Use it.
* src/argparse.c (try_versioned_conffile): Use it.
* tests/t-stringutils.c (check_access): New simple test.
2020-10-09 Werner Koch <wk@gnupg.org>
w32: Support utf8 also for getcwd.
+ commit dbedf190969de1a796560cfa15fb4ea986bc79dc
* src/sysutils.c (_gpgrt_getcwd) [W32]: Implement utf-8 support.
* src/w32-gettext.c (wchar_to_native): Factor some code out to ..
(wchar_to_cp): new.
(_gpgrt_wchar_to_utf8): New.
* tests/t-stringutils.c: Include windows.h.
(utf8_to_wchar): New.
(wchar_to_utf8): New.
(mygetcwd): Use wchar version for Windows.
(main): New option --pwd.
2020-08-24 Werner Koch <wk@gnupg.org>
Release 1.39.
+ commit 59d9f8106db3a23cb5d51d01dc6b719413d3f760
2020-08-21 Werner Koch <wk@gnupg.org>
core,w32: Add UTF-8 support to gpgrt_fopen, gpgrt_mkdir and gpgrt_chdir.
+ commit a68c1975bda47b0698b48761a62e95b371095e9a
* src/protos.h: New.
* src/Makefile.am (libgpg_error_la_SOURCES): Add file.
* src/gpgrt-int.h: Include protos.h.
* src/sysutils.c (_gpgrt_mkdir) [W32]: Make UTF-8 aware.
(_gpgrt_chdir) [W32]: Ditto.
* src/w32-gettext.c: Include protos.h.
(utf8_to_wchar): Allow for strings.
(_gpgrt_utf8_to_wchar): New.
(_gpgrt_free_wchar): New.
* src/estream.c (map_w32_to_errno): Add more error codes.
(_gpgrt_w32_set_errno): New.
(any8bitchar) [W32]: New helper.
(func_file_create) [W32]: Convert file name and use _wopen.
2020-08-21 NIIBE Yutaka <gniibe@fsij.org>
argparse: Handle a corner case of wrong ARGC.
+ commit 87a6b28c0f3b6c5b38e0f8a8533df39d3f0c0f03
* src/argparse.c (arg_parse): Avoid null dereference when ARGC is wrong.
2020-08-17 Werner Koch <wk@gnupg.org>
Fix a current gcc's -fsanitize warning.
+ commit c5fcdd9a58a2508a20327226c52d155c29ddd5f3
* src/argparse.c (ARGPARSE_FLAG__INITIALIZED): Make sure it is an
unsigned int.
2020-08-11 Werner Koch <wk@gnupg.org>
core,w32: Use timeout in es_poll even if there are no FDs.
+ commit fd1340085bc6879436dd2882dc5178c133434675
* src/w32-estream.c (_gpgrt_w32_poll): Sleep if there are no handles
to wait for.
2020-08-05 Werner Koch <wk@gnupg.org>
Make --lib-version work again.
+ commit e0dab4843ded8af172c2566b4d7313a1a13e7e26
* src/gpg-error.c (main): Add printing code.
2020-08-03 NIIBE Yutaka <gniibe@fsij.org>
gpgrt-config: Fix handling 'Requires' field.
+ commit 4192cbc3c58589055de1fb5ccbe42f3d33adb0af
* src/gpgrt-config.in (get_attr_l): New.
(all_required_config_files): Use get_attr_l.
2020-07-15 NIIBE Yutaka <gniibe@fsij.org>
w32: Add gpgrt_fcancel to the definition.
+ commit c564d8c5a0e7c1aba9103cb4b6561b61074c60f1
* src/gpg-error.def.in (gpgrt_fcancel): Add.
2020-06-26 Werner Koch <wk@gnupg.org>
estream: Add gpgrt_fcancel.
+ commit 3413489d25577e3fe7f529b8e610a45d2bd1857c
* src/estream.c (do_close): Add arg 'cancel_mode' and chnage all
callers.
(_gpgrt_fcancel): New.
* src/gpg-error.def.in, src/gpg-error.vers: Add function.
* src/visibility.c (gpgrt_fcancel): New.
* src/gpg-error.h.in (gpgrt_fcancel): New.
2020-06-15 NIIBE Yutaka <gniibe@fsij.org>
build: Fix the gpg-error-config test for cross build.
+ commit 1a4c1f37a1c95a4cfcaab6df3364ee3515a1ea1b
* src/gpg-error-config-test.sh.in: Clear PKG_CONFIG_SYSROOT_DIR.
2020-06-12 NIIBE Yutaka <gniibe@fsij.org>
build: Fix command-line to make 'src 'dir.
+ commit 159e394920f6be822d771fe003498de4d93b07c3
* configure.ac: Mistake, then, fix it.
2020-06-11 NIIBE Yutaka <gniibe@fsij.org>
build: On cross build, detect host's objdump.
+ commit ce97528fa3dcc58d86e18d4d8820f210a624f63d
* configure.ac [*-*-linux*] (CROSS_HOST_OBJDUMP): New.
2020-06-03 David Michael <fedora.dm0@gmail.com>
build: Fix cross-compiling into a separate build dir.
+ commit 013720333c6ec1d38791689bc49ba039d98e16b3
* configure.ac: Create the src directory before writing into it.
* src/Makefile.am (EXTRA_DIST): Add gen-lock-obj.sh.
Release 1.38.
+ commit 71d278824c5fe61865f7927a2ed1aa3115f9e439
2020-05-29 Yuri Chornoivan <yurchor@ukr.net>
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
po: Update Ukrainian translation.
+ commit 1143b2d3619939a60f47af75be2123f3b225b32b
2020-05-29 Ineiev <ineiev@gnu.org>
po: Update and proofread Russian translation.
+ commit a6104a9ab717499d405ff2af61a928a08774466a
2020-05-19 Daniel Kahn Gillmor <dkg@fifthhorseman.net>
syscfg: add 64-bit big-endian MIPS architecture.
+ commit 0db8c768843db3e85935b972f1ed9d1b98159c46
* src/syscfg/lock-obj-pub.mips64-unknown-linux-gnuabi64.h: new.
* src/Makefile.am (lock_obj_pub): Add it.
2020-04-09 NIIBE Yutaka <gniibe@fsij.org>
build: Use gen-lock-obj.sh script when possible.
+ commit 988211d3d4c1f3d5cfa6b460210f65ab636763b5
* configure.ac (HAVE_GENERATED_LOCK_OBJ_H): New.
* src/Makefile.am: Support HAVE_GENERATED_LOCK_OBJ_H.
build: Add a shell script to generate lock-obj-pub.h.
+ commit 50e62b36ea01ed25d12c443088b85d4f41a2b3e1
* src/gen-lock-obj.sh: New.
2020-04-03 Werner Koch <wk@gnupg.org>
core: Improve the echo and info meta commands of the arg parser.
+ commit 98d11eff669c042d381ee4f18a42d32bcab256ef
* src/argparse.c (handle_meta_echo): Substitue some vars.
(handle_meta_user): Factor some code out to ...
(assure_username): new.
core: Implement meta command [user] also for Windows.
+ commit ef07aedc70992742fcef92811345670777a3047b
* src/argparse.c (initialize): Clear username.
* src/sysutils.c (_gpgrt_getusername): Implement for Windows.
core: Implement meta command [user] for the arg parser.
+ commit d843d260f5502ba90a2a35dfe202439f32b0e9aa
* src/sysutils.c (_gpgrt_getusername): New.
* src/argparse.c (struct _gpgrt_argparse_internal_s): New flags user_*
and store the current user.
(initialize): Free new malloced field. Clear new flags.
(handle_meta_user): Implement.
(handle_metacmd): Implement user sections. Remove "group" meta
command.
(_gpgrt_argparse): Implement user sections.
(finish_read_sys): Reset new vars.
2020-03-06 Werner Koch <wk@gnupg.org>
core: Tweak the printing of headers in the --help output.
+ commit 85b5006d01fc64763a6e1f0d6cbda91c5cb709c1
* src/argparse.c (show_help): Do not print empty sections between
headers.
core: Add features for pretty printing the help.
+ commit c59bf5824aafe938d5ab0d69079b9d93debc19fe
* src/gpg-error.h.in (ARGPARSE_OPT_HEADER): New.
(ARGPARSE_OPT_VERBATIM): New.
(ARGPARSE_verbatim): New.
(ARGPARSE_header): New.
* src/argparse.c (show_help): Implement them.
2020-03-03 Werner Koch <wk@gnupg.org>
core: New function gpgrt_reallocarray.
+ commit 969abd302211262562df93ae5412ee319aae69e6
* src/init.c (_gpgrt_reallocarray): New.
* src/visibility.c (gpgrt_reallocarray): New.
* src/gpg-error.vers, src/gpg-error.def.in: Add new function.
* src/gpg-error.h.in: Add new interface.
* tests/t-malloc.c: New.
* tests/Makefile.am (TESTS): Add new test.
core: Fix allocation bug introduced with last commit.
+ commit 72a15bad8f27303475498ce44e34d29b4c2c4593
* src/argparse.c (initialize): Increase number of extra slots.
2020-03-02 Werner Koch <wk@gnupg.org>
core: New internal option --dump-option-table for argparser.
+ commit db95feab16e32309a4bfb382827c495c2c49920c
* src/argparse.c (initialize): Add new internal option.
(arg_parse): Implement that option.
(dump_option_table): New.
(show_help): Remove exit and let the caller call my_exit.
core: Replace fputs by es_fputs in argparser.
+ commit f816797c87340a6130dea1e4f8f0e130511dfe3f
* src/argparse.c (writestrings): Use that function to match what we
are doing in flushstrings.
core: Allow returning of attributes from gpgrt_argparser.
+ commit d3661d81e9aafae75680164ede7322cf3d7b6804
* src/gpg-error.h.in (ARGPARSE_FLAG_WITHATTR): New.
(ARGPARSE_ATTR_FORCE): New.
(ARGPARSE_ATTR_IGNORE): New.
(ARGPARSE_TYPE_MASK): Moved from argparse.c to here.
* src/argparse.c: Always use macros for constants.
(_gpgrt_argparse): Handle ARGPARSE_FLAG_WITHATTR.
(arg_parse): Ditto.
* tests/t-argparse.c (main): Add commented test case.
2020-02-27 Werner Koch <wk@gnupg.org>
core: Implement meta commands for the argparser.
+ commit 2d1969ab465bad62f73a7c24ddc8bb490ff9fd40
* src/argparse.c (opttable_t): Add new flags forced, ignore, and
explicit_ignore.
(struct _gpgrt_argparse_internal_s): Change flags to bitflags. Add
several flags to support meta commands.
(initialize): Clear them.
(handle_meta_user): Use the new verbose flag.
(handle_meta_force): Implement.
(handle_meta_ignore): Implement.
(handle_meta_echo): Support "-echo".
(handle_meta_verbose): New.
(handle_metacmd): New meta command verbose. Add always flag and move
the detection of unexpected meta commands to here.
(_gpgrt_argparse): Make use of the ignore and forced meta commands.
(finish_read_sys): New.
(_gpgrt_argparser): Support the verbose flag. Call finish_read_sys.
(arg_parse): Ignore non-explicit ignored and all forced options.
* tests/t-argparse.c (main): Fix printing of the ARGPARSE_CONFFILE
case. New option 'M'.
* tests/t-argparse.conf, tests/etc/t-argparse.conf: Various changes to
test the new meta commands.
indent: Fix indentation in an argparse.c function.
+ commit ffa21bf5b7066f7fa437119ce6b508b324ea2611
* src/argparse.c (arg_parse): Fix it here.
2020-02-26 Werner Koch <wk@gnupg.org>
core: Add meta command handler stubs to argparse.c.
+ commit 2f169b341e410924c5d7ee7d76ac67f85f26ed6a
* src/argparse.c (handle_meta_user): New stub.
(handle_meta_force): New stub.
(handle_meta_ignore): New stub.
(handle_meta_echo): New.
(handle_metacmd): New.
(_gpgrt_argparse): Call meta command handler.
core: Prepare argparse.c to track additional info for options.
+ commit 9d268891dae6093e5346710a38ba8cd978f24f09
* src/argparse.c (opttable_t): New.
(struct _gpgrt_argparse_internal_s): Use this instead of a ppointer to
gpgrt_opt_t.
(initialize): Copy options to the new tableand keep an original ordinal.
(_gpgrt_argparse): Adjust for changes.
(any_opt_conffile): Ditto.
(find_long_option): Ditto.
(arg_parse): Ditto.
(long_opt_strlen): Adjust args.
(cmp_ordtbl): New.
(show_help): Print using the ordinal numbers.
2020-02-25 Werner Koch <wk@gnupg.org>
core: Add parser for meta commands to gpgrt_argparser.
+ commit 6fc2d7cb8ce9e08cb189608466803ee7c8eb6930
* src/gpg-error.h.in (ARGPARSE_INVALID_META): New
(ARGPARSE_UNKNOWN_META, ARGPARSE_UNEXPECTED_META): New.
* src/argparse.c (struct _gpgrt_argparse_internal_s): Add flag
insysconfig.
(initialize): Init flag. Add error strings.
(_gpgrt_argparser): Set that flag.
(_gpgrt_argparse): Add parsing of meta commands.
* tests/etc/t-argparse.conf: Add some test cases.
* tests/t-argparse.conf: Ditto.
* tests/t-argparse.c (main): Die only after printing all warnings.
core: Fold duplicated code from _gpgrt_argparse.
+ commit ca79d5edee8c6d93575708643ec825f81107e624
* src/argparse.c (_gpgrt_argparse): Fold common code.
core: Improve readability of _gpgrt_argparse.
+ commit 8c185e719860aaa93cc37c0ec91c7bd5e3c2a5ce
* src/argparse.c (_gpgrt_argparse): Use enum for the states and
replace continue and break.
core: New flag ARGPARSE_FLAG_USERVERS to try versioned config files.
+ commit e9f36cabe157aa046b32dfc0b9f5c175b9808722
* src/gpg-error.h.in (ARGPARSE_FLAG_USERVERS): New.
* src/argparse.c: Include unistd.h.
(try_versioned_conffile): New.
(_gpgrt_argparser): Use it.
core: New pseudo option ARGPARSE_PERMISSION_ERROR.
+ commit f25555aed0da7f0492b68efb789dbe3e03ec7fe8
* src/gpg-error.h.in (ARGPARSE_PERMISSION_ERROR): New.
* src/argparse.c (initialize): Add code to print this error.
2020-02-25 NIIBE Yutaka <gniibe@fsij.org>
w32: Fix exporting gpgrt_argparser.
+ commit 732ac9c681a0b6afdee2e8eb6937500850f74986
* src/gpg-error.def.in (gpgrt_argparser): Fix typo.
2020-02-22 Werner Koch <wk@gnupg.org>
core: Extend the way a config file can be specified,
+ commit b79b2a7fb3ad3ada45d17e8632f1ee4212ce0764
* src/argparse.c (PATHSEP_C, DIRSEP_C): New.
(is_absfname, is_twopartfname): New.
(_gpgrt_argparser): Allow for a two-part config name.
2020-02-20 Werner Koch <wk@gnupg.org>
core: Skip cmdline parsing for no or an empty argv.
+ commit 44258227f7dfb12b3c0faa8ab417a9dc2be46eed
* src/argparse.c (_gpgrt_argparser): Allow for empty argv. Also fix
memory leak.
2020-02-19 Werner Koch <wk@gnupg.org>
core: More fixes for the new option/argument parser.
+ commit 46b3749997da84c41f583b22cda812dd5e42bde0
* src/argparse.c (arg_parse): Always set opt_flags. New flag no_init.
(_gpgrt_argparse): Clear opt_flags at start.