| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* src/spawn-w32.c (handle_to_pid): Use pid_t to coerce the type.
--
GnuPG-bug-id: 4656
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* src/posix-lock.c [__FreeBSD__] (use_pthread_p): Use
pthread_key_create to determine if it's linked to lpthread or not.
--
This is from glthread_in_use in gnulib/lib/glthread/threadlib.c.
On FreeBSD, pthread_key_create in there in libc (stub function) as
well as -lpthread (real one), while pthread_create is not available
in libc.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
| |
| |
| |
| |
| |
| |
| |
| | |
* doc/yat2m.c (finish_page): Conditionalize the output with VERBOSE.
--
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* src/w32-estream.c: Add EOPNOTSUPP.
--
GnuPG-bug-id: 5890
Reported-by: Eli Zaretskii
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
| |
| |
| |
| | |
--
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
| |
* src/gpg-error.m4: When gpgrt-config doesn't work expected for
gpg-error.pc, unset GPGRT_CONFIG.
--
Found the issue in the libgcrypt build with libgpg-error 1.31.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Lock optimization (without sys/single_threaded.h) is
only known to work on GNU system, using weak symbol.
--
Fixes-commit: 50e0f32b19356fd7c64c799192379ff2204cd8a3
GnuPG-bug-id: 5699
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
| |
--
|
|
|
|
| |
* configure.ac: Bump LT version to C32/A32/R2.
|
|
|
|
| |
--
|
|
|
|
| |
Signed-off-by: Emir SARI <emir_sari@icloud.com>
|
|
|
|
|
|
| |
* src/argparse.c (_gpgrt_argparse): Set attributes info flags
--
GnuPG-bug-id: 5799
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac: expand *-*-linux-musl to *-*-linux-musl*.
--
GnuPG-bug-id: 5762
Reported-by: Helmut Grohne <helmut@subdivi.de>
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am (EXTRA_DIST): Remove potomo.
[HAVE_W32_SYSTEM] (install-data-hook): Run msgfmt.
--
Note that all po files are now in UTF-8.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* po/Makefile.in.in: Update.
* po/Makevars: Update.
* po/Rules-quot: Update.
* po/insert-header.sin: Update.
* po/remove-potcdate.sin: Update.
--
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
--
Fixes-commit: 980e4410bb0a372a7bcce5f454915e6565a56b96
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
--
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
|
|
|
| |
* src/gpg-error-config-test.sh.in: Clear PKG_CONFIG_LIBDIR.
--
GnuPG-bug-id: 5740
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
--
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
|
|
| |
* configure.ac: Support 'guessing yes' for gl_cv_have_weak.
--
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Add *-*-linux-musl.
--
Reported-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
|
|
| |
* configure.ac: Add missing check for inet_pton to avoid using inet_addr
in modern systems.
--
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/t-poll.c (create_pipe): Use CreatePipe.
--
Since POSIX pipe with file descriptor is not supported on Windows as
pollable, use Win32 Pipe instead.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac (HAVE_LOCK_OPTIMIZATION): New.
* tests/Makefile.am: Use HAVE_LOCK_OPTIMIZATION for
t-lock-single-posix.
--
GnuPG-bug-id: 5699
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
|
|
|
|
| |
* src/Makefile.am (gpg-error-config): It depends on configure
generated gpg-error-config-test.sh.
--
GnuPG-bug-id: 5696
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
--
Fixes-commit: 7a7caf4ba1c460c9c36f754fcd0ebfeb4aa5cc6a
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
|
|
|
|
|
| |
configure.ac: Escape includedir for GPG_ERROR_CONFIG_CFLAGS.
Escape libdir for GPG_ERROR_CONFIG_LIBS.
--
This can offer nice-looking gpg-error.pc.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
|
|
|
| |
* src/estream.c: The select function is only used when poll is not
available. So, let it include the header file only when needed.
--
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
| |
--
|
| |
|
|
|
|
| |
--
|
|
|
|
| |
--
|
| |
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
--
The whole thing is actually only for here for doing this
[let tkey HKLM\Foo\Bar\GnuPG:trusted-key-1]
[if $tkey]
trusted-key $tkey
[fi]
But we are hackers and tend to make things more complicated^Wflexible.
Documentation will be done eventually.
Signed-off-by: Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
| |
* src/w32-reg.c (_gpgrt_w32_reg_query_string): Allow abbreviated root
names.
(_gpgrt_w32_reg_get_string): New.
--
This should eventually be made public. Noet that we have a copy in
gnupg.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
--
Original patch was by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
in
https://lists.gnu.org/archive/html/libtool-patches/
2020-06/msg00001.html
Reported-by: Aleix Conchillo Flaque
GnuPG-bug-id: 5610
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
|
|
|
| |
* src/gpgrt-config.in: Correctly detect the case.
--
GnuPG-bug-id: 5595
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
|
|
|
|
| |
* tests/Makefile.am (TESTS): Add t-lock-single-posix.
* tests/t-lock-single-posix.c: New.
--
GnuPG-bug-id: 5547
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
--
GnuPG-bug-id: 5547
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
|
|
|
| |
* m4/threadlib.m4: Add THREADLIB_CPPFLAGS support.
--
GnuPG-bug-id: 5547
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* m4/threadlib.m4: Update.
--
Copied from gnulib commit of 12b5b00f93, so that we can support build
with GNU C library 2.34 or later.
Parts of our local changes are not needed any more:
- Fix comment for "http" to "https"
- Update to AS_HELP_STRING for newer autoconf
One of our local change is canceled by this commit:
- CPPFLAGS handling by THREADLIB_CPPFLAGS
And it will be merged by following commit.
GnuPG-bug-id: 5547
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac (AC_HEADER_STDC): Remove stdlib.h.
--
It is supported by AC_HEADER_STDC.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
| |
* src/stringutils.c: Remove inclusion of pwd.h.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
|
|
|
|
|
| |
* src/gen-lock-obj.sh: Fix generating '}}}'.
--
GnuPG-bug-id: 5495
Reported-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Fixes-commit: 1fb90a7da186ee2ee098a666f6f3a35bb1720e59
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac (AM_LANGINFO_CODESET): Add.
* src/strerror.c (_gpg_strerror_r): Check the boundary of character.
--
GnuPG-bug-id: 5048
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac (*-apple-darwin*): Set _DARWIN_C_SOURCE 1.
--
GnuPG-bug-id: 5440
Reported-by: Jay Freeman
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
| |
* src/init.c (_gpgrt_free): Shortcut NULL and save ERRNO.
Signed-off-by: Werner Koch <wk@gnupg.org>
|