| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
* assuan-pipe-connect.c (assuan_pipe_connect2): Add missing
declaration of PID.
|
|
|
|
|
|
|
|
|
|
|
| |
required so that assuan.h knows about the W32 macro.
* assuan.h [_ASSUAN_EXT_SYM_PREFIX]: New.
* assuan-io.c [_ASSUAN_NO_PTH]: New.
* assuan-pipe-connect.c (fix_signals) [_ASSUAN_NO_FIXED_SIGNALS]: New.
(assuan_pipe_connect2) [_ASSUAN_USE_DOUBLE_FORK]: Use double fork.
(fix_signals) [_ASSUAN_USE_DOUBLE_FORK]: Do not wait..
|
| |
|
|
|
|
|
|
|
|
|
| |
* assuan-defs.h (struct assuan_context_s): New field flags.
* assuan.h (assuan_flag_t): New with one flag value
ASSUAN_NO_WAITPID for now.
* assuan-pipe-connect.c (do_finish): Take care of the no_waitpid
flag.
|
| |
|
|
|
|
|
|
| |
WRITE to READFNC and WRITEFNC to avoid problems with read defined
as macros. Changed callers. Noted by Ville Skytt��.
|
| |
|
|
|
|
|
| |
drive letter in the path.
|
|
|
|
|
| |
descriptors using _get_osfhandle.
|
|
|
|
|
|
| |
* assuan-pipe-connect.c (assuan_pipe_connect2): Removed "`"
character at beginning of line 532.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* assuan-logging.c (_assuan_w32_strerror): New.
* assuan-defs.h (w32_strerror): new.
* assuan-pipe-connect.c (assuan_pipe_connect2, fix_signals):
Factored signal code out to new function.
(build_w32_commandline, create_inheritable_pipe): New. Taken
from gnupg 1.9.
(assuan_pipe_connect2) [W32]: Implemented for W32.
|
|
|
|
|
|
|
|
|
|
| |
Add -lwsock2 to the config lib flags for W32.
* assuan-logging.c, assuan-io.c: Include config.h
* assuan-pipe-connect.c (assuan_pipe_connect2) [_WIN32]: Return
error Not Imlemented.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* assuan-domain-connect.c (LOG): Removed and replaced all callers
by _assuan_log_printf. This is needed for C89 and gcc 2.95 which
both don't have C99 style variable arg macros.
* assuan-pipe-connect.c (LOG): Ditto.
* assuan-socket-connect.c (LOG): Ditto.
* assuan-socket.c[!_WIN32]: Fixed includes.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* assuan-socket.c (_assuan_sock_connect): Get local port from
the sun_path[] file.
(_assuan_sock_bind): Write local port to the sun_path[] file.
* assuan-socket-connect.c (assuan_socket_connect): Use DIRSEP_C
for a better portability.
(assuan-defs.h): Define DIRSEP_C.
2004-11-22 Timo Schulz <[email protected]>
* assuan-io.c (_assuan_simple_read, _assuan_simple_write): W32
support.
* assuan-socket.c (_assuan_close): New.
(_assuan_sock_new): New.
(_assuan_sock_bind): New.
|
|
|
|
|
|
| |
prefix.
* assuan-domain-connect.c, assuan-socket-connect.c (LOG): Ditto.
|
|
|
|
|
|
| |
if they are not available.
* assuan-domain-connect.c: Define PF_LOCAL and AF_LOCAL if needed.
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Check for <sys/uio.h>.
src/
2004-06-23 Marcus Brinkmann <[email protected]>
* assuan-domain-connect.c [HAVE_SYS_UIO_H]: Include <sys/uio.h>.
|
|
|
|
|
|
|
|
| |
for multi line hello strings.
* assuan-buffer.c (_assuan_write_line): New with parts of ..
(assuan_write_line): .. factored out.
|
|
|
|
|
| |
* assuan-logging.c: Ditto.
|
|
|
|
|
| |
* libassuan.m4: Quote first argument to AC_DEFUN.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of the peer if it is available.
* assuan-socket-connect.c (assuan_socket_connect): Do not save the
dummy SERVED_PID arg.
* assuan-pipe-connect.c (do_finish): Don't wait if the pid is 0.
(assuan_pipe_connect2): Store the parents pid in the environment
of the child.
* assuan-pipe-server.c (assuan_init_pipe_server): Initialize the
peer's pid from the environment.
* assuan-connect.c (assuan_get_pid): Do not return 0 as a PID.
|
|
|
|
|
|
| |
sys/types.h. Reported by Michael Nottebrock.
* assuan-domain-connect.c: Ditto.
|
| |
|
| |
|
|
|
|
|
| |
can't implement this.
|
| |
|
| |
|
|
|
|
|
| |
extension of assuan_pipe_connect. Made the latter call this one.
|
|
|
|
|
|
| |
requested size to indicate successful operation. Fixes a spurious
bug we previously fixed using fflush().
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* assuan-util.c (assuan_set_log_stream): Set global log stream if
it has not been done yet.
* assuan-logging.c (_assuan_set_default_log_stream): New.
(assuan_set_assuan_log_prefix): New.
|
|
|
|
|
|
|
| |
name space clean and avoid duplicate definitions if another
library uses the same replacement.
* assuan-defs.h (funopen): Renamed prototype and add a macro.
|
| |
|
|
|
|
|
| |
messages for gpg-error enabled programs.
|
|
|
|
|
|
| |
* assuan-socket-connect.c (assuan_socket_connect): Fix computation
of socket address length.
|
|
|
|
|
| |
the Assuan limit.
|
|
|
|
|
|
|
| |
* gpl.texi: Removed.
* assuan.texi: Dropped requirement vor invariant sections,
front- and back-cover texts. Include lgpg.texi.
|
|
|
|
|
| |
readable way.
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am (m4data_DATA): New.
* assuan.h (AssuanCommand): Removed.
* assuan-handler.c: Remove the cmd_id element,
(assuan_register_command): Likewise. Note that semantics changed.
(_assuan_register_std_commands): Adjusted.
|
|
|
|
|
| |
* Makefile.am (bin_SCRIPTS): Renamed from bin_PROGRAMS.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-02-18 Neal H. Walfield <[email protected]>
* configure.ac: Fix typo.
(AC_CONFIG_FILES): Remove common/Makefile.am.
* common: Remove directory.
src/
2003-02-18 Neal H. Walfield <[email protected]>
* Makefile.am (libassuan_a_LIBADD): New variable.
* funopen.c: Move from ../common.
* isascii.c: Likewise.
* memrchr.c: Likewise.
* putc_unlocked.c: Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-02-18 Neal H. Walfield <[email protected]>
* common: New directory.
* Makefile.am (SUBDIRS): Add common.
* configure.ac: Check for funopen. If not present, check for
fopencookie and implement it in terms of that. Otherwise, fail.
(AC_CONFIG_FILES): Add common/Makefile.
src/
2003-02-18 Neal H. Walfield <[email protected]>
* assuan-handler.c (_IO_cookie_io_functions_t): Remove.
(cookie_io_functions_t): Remove.
(fopencookie): Remove prototype.
(assuan_get_data_fp): Use funopen, not fopencookie.
common/
2003-02-18 Neal H. Walfield <[email protected]>
* Makefile.am: New file.
* funopen.c: New file.
* isascii.c: Imported from newpg.
* memrchr.c: Likewise.
* putc_unlocked.c: Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-02-18 Neal H. Walfield <[email protected]>
* configure.ac (AC_CONFIG_FILES): Add src/libassuan-config.
(LIBASSUAN_CONFIG_LIBS, LIBASSUAN_CONFIG_CFLAGS): New variables.
AC_SUBST them.
src/
2003-02-18 Neal H. Walfield <[email protected]>
* libassuan-config.in: New file.
* Makefile.am (bin_PROGRAMS): New variable.
|
|
|
|
|
| |
* .cvsignore: New file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am (lib_LIBRARIES): Use this instead of . . .
(noinst_LIBRARIES): . . . this.
(include_HEADERS): New variable.
(libassuan_a_SOURCES): Remove assuan.h, add assuan-logging.c.
* assuan.h (assuan_set_assuan_log_stream): New prototype.
(assuan_get_assuan_log_stream): Likewise.
(assuan_get_assuan_log_prefix): Likewise.
* assuan-logging.c: New file.
* assuan-buffer.c [HAVE_JNLIB_LOGGIN]: Do not include
"../jnlib/logging.h".
(my_log_prefix): Remove function.
(_assuan_read_line): Use assuan_get_assuan_log_prefix in lieu of
my_log_prefix.
(assuan_write_line): Likewise.
(_assuan_cookie_write_data): Likewise.
(_assuan_cookie_write_flush): Likewise.
* assuan-domain-connect.c (LOGERROR, LOGERROR1, LOGERROR2,
LOGERRORX): Remove.
(LOG): New macro.
(domain_reader): Use it.
(domain_writer): Likewise.
(domain_sendfd): Likewise.
(domain_receivefd): Likewise.
(_assuan_domain_init): Likewise.
(assuan_domain_connect): Likewise.
* assuan-pipe-connect.c [HAVE_JNLIB_LOGGIN]: Do not include
"../jnlib/logging.h".
(LOGERROR, LOGERROR1, LOGERROR2, LOGERRORX): Remove.
(LOG): New macro.
(assuan_pipe_connect): Use it.
* assuan-socket-connect.c [HAVE_JNLIB_LOGGIN]: Do not include
"../jnlib/logging.h".
(LOGERROR, LOGERROR1, LOGERROR2, LOGERRORX): Remove.
(LOG): New macro.
(assuan_socket_connect): Use it.
(socket_reader): Remove dead code.
(socket_writer): Likewise.
* assuan-util.c [HAVE_JNLIB_LOGGIN]: Do not include
"../jnlib/logging.h".
(_assuan_log_sanitized_string): Use assuan_get_assuan_log_stream,
not jnlib.
|