1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-10 21:38:50 +01:00
Commit Graph

10 Commits

Author SHA1 Message Date
Werner Koch
3571968f04 (log_set_file): Do not close an old logstream if it
used to be stderr or stdout.
2004-06-21 09:50:22 +00:00
Werner Koch
edda971a15 (log_set_file): Oops, don't close if LOGSTREAM is NULL. 2004-05-05 19:33:56 +00:00
Werner Koch
623fad67a5 * gpg-agent.c (parse_rereadable_options): New arg REREAD. Allow
changing oLogFile.
(current_logfile): New.

* logging.c (log_set_file): Make sure the log stream will be
closed even if the stderr fileno will be assigned to a new socket.
2004-04-30 03:58:21 +00:00
Werner Koch
e21bf7b9e0 * gpg-agent.c (main): Tell the logging code taht we are runnign
detached.

* logging.h (JNLIB_LOG_WITH_PREFIX): Add constants for the flag
values.
* logging.c (log_set_prefix): New flag DETACHED.
(fun_writer): Take care of this flag.
(log_test_fd): New.
2004-04-16 09:46:54 +00:00
Werner Koch
bba0f77422 (writen, fun_writer, fun_closer): New.
(log_set_file): Add feature to log to a socket.
(log_set_file, do_logv): Force printing with prefix and pid.
2003-12-16 16:30:48 +00:00
Werner Koch
dba63c0a0c * configure.ac: Check for funopen and fopencookie as part of the
jnlib checks.

* logging.c (writen, fun_writer, fun_closer): New.
(log_set_file): Add feature to log to a socket.
2003-12-16 11:30:16 +00:00
Werner Koch
c0c2c58054 Finished the bulk of changes for gnupg 1.9. This included switching
to libgcrypt functions, using shared error codes from libgpg-error,
replacing the old functions we used to have in ../util by those in
../jnlib and ../common, renaming the malloc functions and a couple of
types.  Note, that not all changes are listed below becuause they are
too similar and done at far too many places.  As of today the code
builds using the current libgcrypt from CVS but it is very unlikely
that it actually works.
2003-06-18 19:56:13 +00:00
Werner Koch
11d5db1dcb Updated from NewPG 2003-01-09 12:36:05 +00:00
David Shaw
98a05e4239 Removed files for CVS reorganization 2002-06-29 12:56:01 +00:00
Werner Koch
54b141f63e Add files to new directory.
This is mainly stuff moved from ../util
to here.
2000-01-24 12:05:50 +00:00