1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

See ChangeLog: Sat Feb 13 14:13:04 CET 1999 Werner Koch

This commit is contained in:
Werner Koch 1999-02-13 13:17:29 +00:00
parent 54629f721b
commit 6e5bc13878
5 changed files with 14 additions and 9 deletions

View File

@ -21,9 +21,7 @@ Configure options for GNUPG
option "--debug 128" displays a memory statistic after option "--debug 128" displays a memory statistic after
the program run. the program run.
--disable-m-guard Disable the integrated malloc checking code. As a --enable-m-guard Enable the integrated malloc checking code.
side-effect, this removes all debugging code and uses
the -O2 flag for all C files.
--disable-dynload If you have problems with dynamic loading, this option --disable-dynload If you have problems with dynamic loading, this option
disables all dynamic loading stuff. disables all dynamic loading stuff.

View File

@ -20,14 +20,12 @@ DATA_FILES = data-500 data-9000 data-32000 data-80000
EXTRA_DIST = defs.inc run-gpg run-gpgm run-gpg.patterns $(TESTS) $(TEST_FILES) EXTRA_DIST = defs.inc run-gpg run-gpgm run-gpg.patterns $(TESTS) $(TEST_FILES)
CLEANFILES = prepared.stamp x y yy z out err $(DATA_FILES) \ CLEANFILES = prepared.stamp x y yy z out err $(DATA_FILES) \
plain-1 plain-2 plain-3 options trustdb.gpg *.lock .\#lk* plain-1 plain-2 plain-3 options trustdb.gpg *.lock .\#lk* \
DISTCLEANFILES = pubring.gpg secring.gpg pubring.pkr secring.skr pubring.gpg secring.gpg pubring.pkr secring.skr
check: prepared.stamp all-local: prepared.stamp
testdata: prepared.stamp
prepared.stamp: ./pubring.gpg ./secring.gpg ./plain-1 ./plain-2 ./plain-3 \ prepared.stamp: ./pubring.gpg ./secring.gpg ./plain-1 ./plain-2 ./plain-3 \
./pubring.pkr ./secring.skr $(DATA_FILES) ./pubring.pkr ./secring.skr $(DATA_FILES)

View File

@ -92,7 +92,7 @@ MPI_OPT_FLAGS=""
if test "$GCC" = yes; then if test "$GCC" = yes; then
CFLAGS="$CFLAGS -Wall" CFLAGS="$CFLAGS -Wall"
dnl Always enable optimazation in MPI dnl Always enable optimazation in MPI
if echo "$CFLAGS" | grep "-O" >/dev/null ; then if echo "$CFLAGS" | grep "[-]O" >/dev/null ; then
: :
else else
MPI_OPT_FLAGS=-O2 MPI_OPT_FLAGS=-O2

View File

@ -1,3 +1,7 @@
Sat Feb 13 14:13:04 CET 1999 Werner Koch <wk@isil.d.shuttle.de>
* tdbio.c (tdbio_set_dbname): Init lockhandle for a new trustdb
Wed Feb 10 17:15:39 CET 1999 Werner Koch <wk@isil.d.shuttle.de> Wed Feb 10 17:15:39 CET 1999 Werner Koch <wk@isil.d.shuttle.de>
* g10.c (main): check for development version now in configure * g10.c (main): check for development version now in configure

View File

@ -466,6 +466,11 @@ tdbio_set_dbname( const char *new_dbname, int create )
if( db_fd == -1 ) if( db_fd == -1 )
log_fatal( _("%s: can't open: %s\n"), db_name, strerror(errno) ); log_fatal( _("%s: can't open: %s\n"), db_name, strerror(errno) );
if( !lockhandle )
lockhandle = create_dotlock( db_name );
if( !lockhandle )
log_fatal( _("%s: can't create lock\n"), db_name );
memset( &rec, 0, sizeof rec ); memset( &rec, 0, sizeof rec );
rec.r.ver.version = 2; rec.r.ver.version = 2;
rec.r.ver.created = make_timestamp(); rec.r.ver.created = make_timestamp();