mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
/
* configure.ac: Remove GNUPG_DATADIR for non-W32 systems. g10/ * Makefile.am (AM_CPPFLAGS): Define GNUPG_DATADIR. * openfile.c (copy_options_file): Use log_info and not log_error to avoid error returns in case of a missing skeleton file.
This commit is contained in:
parent
818f65f42a
commit
abfdbea116
@ -1,3 +1,7 @@
|
||||
2006-12-07 Werner Koch <wk@g10code.com>
|
||||
|
||||
* configure.ac: Remove GNUPG_DATADIR for non-W32 systems.
|
||||
|
||||
2006-12-06 Werner Koch <wk@g10code.com>
|
||||
|
||||
Released 1.4.6.
|
||||
|
@ -1348,7 +1348,6 @@ cat >g10defs.tmp <<G10EOF
|
||||
#else
|
||||
#define G10_LOCALEDIR "${datadir}/locale"
|
||||
#define GNUPG_LIBDIR "${libdir}/gnupg"
|
||||
#define GNUPG_DATADIR "${datadir}/gnupg"
|
||||
#ifdef __VMS
|
||||
#define GNUPG_HOMEDIR "/SYS\$LOGIN/gnupg"
|
||||
#else
|
||||
|
@ -1,3 +1,9 @@
|
||||
2006-12-07 Werner Koch <wk@g10code.com>
|
||||
|
||||
* Makefile.am (AM_CPPFLAGS): Define GNUPG_DATADIR.
|
||||
* openfile.c (copy_options_file): Use log_info and not log_error
|
||||
to avoid error returns in case of a missing skeleton file.
|
||||
|
||||
2006-12-04 Werner Koch <wk@g10code.com>
|
||||
|
||||
* filter.h (armor_filter_context_t): New field REFCOUNT.
|
||||
|
@ -27,6 +27,7 @@ EXTRA_DIST = options.skel
|
||||
|
||||
if ! HAVE_DOSISH_SYSTEM
|
||||
AM_CPPFLAGS += -DGNUPG_LIBEXECDIR="\"$(libexecdir)/@PACKAGE@\""
|
||||
AM_CPPFLAGS += -DGNUPG_DATADIR="\"$(pkgdatadir)\""
|
||||
endif
|
||||
|
||||
needed_libs = ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a
|
||||
|
@ -345,7 +345,7 @@ copy_options_file( const char *destdir )
|
||||
errno = EPERM;
|
||||
}
|
||||
if( !src ) {
|
||||
log_error(_("can't open `%s': %s\n"), fname, strerror(errno) );
|
||||
log_info (_("can't open `%s': %s\n"), fname, strerror(errno) );
|
||||
xfree(fname);
|
||||
return;
|
||||
}
|
||||
@ -360,7 +360,7 @@ copy_options_file( const char *destdir )
|
||||
dst = fopen( fname, "w" );
|
||||
umask(oldmask);
|
||||
if( !dst ) {
|
||||
log_error(_("can't create `%s': %s\n"), fname, strerror(errno) );
|
||||
log_info (_("can't create `%s': %s\n"), fname, strerror(errno) );
|
||||
fclose( src );
|
||||
xfree(fname);
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user